Wrong row.dataindex by filtering in c1flexgrid

Posted by: lars.seehaus on 18 January 2022, 9:29 am EST

    • Post Options:
    • Link

    Posted 18 January 2022, 9:29 am EST

    Hello,

    when i filter the rows of my flexgrid via a filterrow with text. I get the wrong DataIndex from this rows. With the filtering via dropdown filter the dataindex is correct.

  • Posted 19 January 2022, 7:36 am EST

    Hi,

    The FilterRow sample uses the Dataview.RowFilter property to filter the rows, which creates a new DataView of only filtered rows which results in DataIndex values of the filtered rows not being the same as when the Grid is filtered using the DropDown filter. If you want to find the DataIndex of the filtered rows using the FilterRow, you can use the IndexOf method of the source DataTable. Kindly refer to the attached sample.

    Regards

    Avnish

    FilterRow_mod.zip

Need extra support?

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

Learn More

Forum Channels