Start RowIndex from actual Data

Answered
sudhasmsa asked on September 18, 2022

Hello,
Our team has been using flexmonster for awhile and it does a great job thank you for that.
I am trying to see how can we move the row index to start from actual data not the column header? Example, the following is default behavior of the pivot table.
   | 1            |    2       
1 | Category | Color
2 | Test        | Red
 
Instead I am trying to see if the following can be achieved.
   | 1            |    2       
   | Category | Color
1 | Test        | Red
2 | Test 2     | Yellow
 
I couldn't find any out of the box config options. Could you please let me know if the above is possible ? 
 
FYI, we are using Angular. 
 
 
 
 

5 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 19, 2022

Hello!
 
Thank you for your question and your kind words about our component.
 
Kindly note that the entry point of indexing rows is static and cannot be customized. 
Nevertheless, there is an option that allows switching off the cell numeration on the grid. For that, you should set the showHeaders property of the OptionsObject to 'false', for example:

report: {
    ...
    options: {
         grid: {
              showHeaders: false
         }
     },
}

Here is a JSFiddle sample for visualization: https://jsfiddle.net/flexmonster/49euqyk7/.
 
Could you please let us know if it works for your case?
Looking forward to your response.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 27, 2022

Hello!

Hope you are doing well.

Our team is wondering if you had some time to try the suggested approach and hide the grid numeration. Could you please let us know if it works for your case?

Looking forward to hearing from you.

Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 4, 2022

Hello!

Hope you are having a great week.

Just checking in to ask if hiding the grid numeration works for your case.

Looking forward to your response.

Regards,
Solomiia

Public
sudhasmsa October 10, 2022

Thank you Solomiia. Unfortunately we cannot hide the indexes. 

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 11, 2022

Hello!

Thank you for getting back to us.

Your feedback is valuable to our team.
We have added the feature of changing the entry point of indexing rows to our customers' wishlist. Our team will notify you in case of any updates on the matter.

Feel free to contact us in case of any other questions.

Regards,
Solomiia

Please login or Register to Submit Answer