Author Topic: Check if row detail is expanded  (Read 2621 times)

koko1982

  • Newbie
  • *
  • Posts: 4
    • View Profile
Check if row detail is expanded
« on: September 19, 2017, 01:13:50 pm »
How can I check if row detail is expanded ?

Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5642
    • View Profile
Re: Check if row detail is expanded
« Reply #1 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.

koko1982

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Check if row detail is expanded
« Reply #2 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 5642
    • View Profile
Re: Check if row detail is expanded
« Reply #3 on: September 20, 2017, 01:23:35 pm »
rowData.pq_detail.show is true when row is expanded, false or undefined otherwise.

koko1982

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Check if row detail is expanded
« Reply #4 on: September 20, 2017, 08:08:48 pm »
Thanks!

It works.