We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RowIndex and ColumnIndex

Thread ID:





24082 Jan 27,2005 05:06 PM UTC Jan 27,2005 05:35 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On January 27, 2005 05:06 PM UTC

We are building a framework that supports both DataGrid and GridDataBound.. the only problem is GridDataBoundGrid.CurrentCell.RowIndex starts with 1 whereas in DataGrid DataGrid.CurrentCell.RowNumber starts with 0.. is there any way to change GridDataBoundGrid index behaviour so instead of starting with 1 it needs to start with 0...This also applies for ColIndex which starts with 1.. Regards Yogi

Administrator [Syncfusion]
Replied On January 27, 2005 05:35 PM UTC

There is no property setting that will control this. You could use add RowIndexResolver and ColIndexResolver methods to your framework and require your framework to use these methods anytime a rowindex or column index was needed. Then your implementation could return the proper index depending upon the passed in value and the actual grid type.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon