PDA

View Full Version : expanding a row without clicking +/- icon



asahoo
22 Sep 2014, 8:46 AM
Hi ,

I am using row expander plugin for expanding/ collapsing the row.Plug in provides two icons (+ for expansion and - for collapse ). The plugin is working as expected.

What I am trying to do is , expanding the row in a more customized way.let's say row selection or row's custom icon click
Is that possible ?

Please note that I am trying to call
Plugin.toggleRow(rowindex,record) inside my event (click of custom icon). So will this approach solve the requirement.

Please suggest on the same. Thanks in advance.

slemmon
25 Sep 2014, 10:53 PM
Hi,

Yes, your approach looks right. There is not a public expand/collapse/toggle method I'm afraid, but the toggleRow method is what the plugin is using internally for + / - click event handling.