NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: olu on July 15, 2012, 10:13:03 AM

Title: change browse cell colour
Post by: olu on July 15, 2012, 10:13:03 AM
Hi is there a way to conditionally change a cell colour? i have an option on a browse box to edit in place a tick box to true or false but i want a cell on that record row to change color if false. I have tried using the conditional option but that only works when i first open the page
Title: Re: change browse cell colour
Post by: kevin plummer on July 15, 2012, 07:01:23 PM
if it works when you open the browse then it sounds like you are almost there. After the EIP checkbox is changed you should refresh the other columns in that row. The option is in the last tab of the browse template.
Title: Re: change browse cell colour
Post by: Bruce on July 15, 2012, 09:56:04 PM
except that refreshing the row contents, or cell contents, won't refresh the css for the cell, only the css for the _contents_ of the cell (since only the _contents_ are updated with a partial refresh.)

your quickest solution is to refresh the whole browse. There are other approaches you can take, but they would take some knowledge of javascript.

cheers
Bruce
Title: Re: change browse cell colour
Post by: olu on July 16, 2012, 04:20:37 AM
Thanks kavin and bruce , i think i might go with the easy fix for now and refresh the whole browse for now but ideally it would nice if i can just do a row not the whole browse.