ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: koko1982 on September 19, 2017, 01:13:50 pm

Title: Check if row detail is expanded
Post by: koko1982 on September 19, 2017, 01:13:50 pm
How can I check if row detail is expanded ?

Thanks.
Title: Re: Check if row detail is expanded
Post by: paramvir on September 19, 2017, 07:18:17 pm
beforeRowExpand is the event for that, but I see that event beforeRowExpand is missing in v2.2.

v2.4.0 ( which contains this event ) would be released as free version soon.
Title: Re: Check if row detail is expanded
Post by: koko1982 on September 20, 2017, 01:00:10 pm
Thanks but my question is another

I want to know if the row I have currently selected is expanded or collapsed.

Thanks
Title: Re: Check if row detail is expanded
Post by: paramvir on September 20, 2017, 01:23:35 pm
rowData.pq_detail.show is true when row is expanded, false or undefined otherwise.
Title: Re: Check if row detail is expanded
Post by: koko1982 on September 20, 2017, 08:08:48 pm
Thanks!

It works.