ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: aniket.kulkarni on May 23, 2014, 04:57:55 pm

Title: How to create nested grid when parent grid's cell is clicked?
Post by: aniket.kulkarni on May 23, 2014, 04:57:55 pm
Hi!

I can successfully create nested grid the example that you given.

Now, I want don't want that extra column on left which expand and collapse child grid, so I removed first object from colM.

Here grid shows properly, I am getting on click event of the parent grid also but not able to get the child grid.
Title: Re: How to create nested grid when parent grid's cell is clicked?
Post by: paramvir on May 23, 2014, 08:54:40 pm
you could use expandRow and collapseRow methods

http://paramquery.com/pro/api#method-rowExpand

http://paramquery.com/pro/api#method-rowCollapse