How to get row count of pivot in flat layout

Answered
Sohan asked on September 22, 2017

How to get row count of pivot in flat layout , I dont want to use getData() method as it could be a heavy operation also I see gridRowCount method was removed.

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 22, 2017

Hello, Sohan,
Thank you for writing.
You are right, gridRowCount method was removed in version 2.3. Currently, it is not possible to get row count of the pivot table. Please note that getData method is only for integration with 3rd party charting libraries and it would not work for your case.
Please let me know if you have other questions.
Regards,
Tanya

Public
Sohan September 25, 2017

Hi Tanya,
What's the way to get the row count when I am in flat table layout, we want to show the row count on the top of the grid.

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster September 28, 2017

Hello Sohan,
 
The method gridRowCount was restored for you. You will be provided with the intermediate build by Olena via email soon.
 
Kind regards,
Iryna

Please login or Register to Submit Answer