Row number in the C1TrueDbGrid

Posted by: kmeads on 5 April 2023, 4:03 pm EST

  • Posted 5 April 2023, 4:03 pm EST

    I am wanting to call the RefreshRow on my C1TrueDbGrid and it requires a row in the grid itself. I know which row number it is in my data source (a DataTable in this case) but how do I get the corresponding row number in the grid itself? Pretty much what I am looking for is the reverse of RowBookmark.

  • Posted 6 April 2023, 4:17 am EST

    Hi Kenneth,

    Unfortunately, there is no direct method for this. You can write a simple method to get the Grid row index by getting the DataRowView from the Grid rows and matching them with your DataTable row index. Please see the attached sample project showing a simple implementation of the same.

    Attachment: TdbgRow.zip

    Thanks, and Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels