Topic
  • 1 reply
  • Latest Post - ‏2013-03-06T14:21:49Z by SystemAdmin
SystemAdmin
SystemAdmin
7615 Posts

Pinned topic How to deactivate certain rows from a table control based on column value

‏2013-02-25T19:52:30Z |
Hi,

I have a multiple selection table control that shows a list of items. I have a need to deactivate certains items in the list based on a status attribute. Does anyone know how to enable some rows and disable others in the table control?

I thought about just populating the list with just the rows that should be enabled but the list serves multiple purposes, so this is not an option. We are on version 7.2.

Thanks,
Paul
Updated on 2013-03-06T14:21:49Z at 2013-03-06T14:21:49Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: How to deactivate certain rows from a table control based on column value

    ‏2013-03-06T14:21:49Z  
    I'm afraid you will have to write some JS/DHTML to go through the table after it is created and manipulate the generated rows. You can either do that by moving over the entire table, or by adding a customHTML block to the row, which will be able to execute in the context of that row.

    Andrew Paier | Director of Special Operations | BP3 Global, Inc. www.bp-3.com