How add total count or row number in flat mode

RAFAEL asked on January 30, 2019

how to add a field that lists the rows in flat mode, and how to add a total count

5 answers

Public
Tanya Gryshko Flexmonster January 31, 2019

Hi Rafael!
Thank you for the question.
To configure the component in the flat mode with all necessary options please look at this article in our documentation https://www.flexmonster.com/doc/options/ and see the list of available grid options.
To add grand total to the flat table please turn on grid.showGrandTotals. To indicate where grand total will be displayed use grid.grandTotalsPosition.
You can find useful examples here: https://www.flexmonster.com/examples/#!options
Regards,
 Tanya

Public
RAFAEL January 31, 2019

thank you for your prompt response, however the solution you give me is not what I’m looking for, I attached an image, hoping to be more understandable

Attachments:
Evidencia 1.PNG

Public
Tanya Gryshko Flexmonster January 31, 2019

Rafael,
Please look at this sample: https://jsfiddle.net/flexmonster/anexymzu/1/
Does it meet your needs?
You can find more examples here:
https://www.flexmonster.com/examples/#!calculated-measures
Regards,
 Tanya

Public
RAFAEL January 31, 2019

Thank you, solve the first part of my question, the second is how to number from 1 to N each of the records shown in the table

Public
Tanya Gryshko Flexmonster February 1, 2019

Rafael!
Please try the following approach: https://jsfiddle.net/flexmonster/anexymzu/3/
Does it work for you?
Thanks,
  Tanya

Please login or Register to Submit Answer