Disable a Spcific Row from Sorting . FlexGrid, Angular

Posted by: manu.k on 12 October 2020, 10:58 pm EST

    • Post Options:
    • Link

    Posted 12 October 2020, 10:58 pm EST

    Hi,

    I am working on project having a requirement which is last item (ROW) in our flex grid don’t need to be sorted. is there any way we can achieve that? last row of our flex-grid is to display calculated, like “total” .

  • Posted 13 October 2020, 4:48 pm EST

    Hi Manu,

    Instead of using a simple data row to display the totals, you can use columnFooters of the FlexGrid. The footers will not be sorted and can easily display aggregates of the columns by using the aggregate property. Please refer to the demo link below for reference:

    https://www.grapecity.com/wijmo/demos/Grid/Aggregation/Belowthedata/purejs

    Regards,

    Ashwin

  • Posted 24 November 2022, 2:30 pm EST

    Hi,

    What If I want use one row as input row to add new row. can I make this row out of sorting function ?

  • Posted 27 November 2022, 7:33 pm EST

    Hi,

    You can use ‘allowAddNew’ property of the flexGrid, to add new rows to the grid. This property will add a new row template at the bottom of the grid, to add new rows. Also, this row will not be sorted when sorting is applied.

    You can refer to the following sample for it’s implementation - https://www.grapecity.com/wijmo/demos/Grid/Rows/AddingRemoving/purejs

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels