This content has been marked as final.
Show 2 replies
-
1. Re: CollapsibleTable-Icons not toggling correctly. Javascript-Api Problem?
almar Mar 21, 2013 12:21 PM (in response to jbo_master)I have a simular problem; Instead of having to exactly click the 'collapsibleSubTableToggler' icon to switch the state of a subtable I would like it to be sufficient to click somewhere on the row. To accomplice this I added a rowclick event handler that calls the switchState function of the collapsibleSubTable. This works however, same as described by Peter, the icon doesnot change.
Is there an alternative way to expand or collapse a subtable?
~ Almar
-
2. Re: CollapsibleTable-Icons not toggling correctly. Javascript-Api Problem?
almar Mar 21, 2013 12:50 PM (in response to almar)Simulating a click on the collapsibleSubTableToggler-Component does work (but not really pretty):
onrowclick="if (event.srcElement.nodeName==='TD'){event.srcElement.firstChild.firstChild.click()}"