NetTalk Central

Author Topic: change browse cell colour  (Read 2756 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
change browse cell colour
« 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: change browse cell colour
« Reply #1 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: change browse cell colour
« Reply #2 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

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: change browse cell colour
« Reply #3 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.