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.
Unfortunately, activation email could not send to your email. Please try again.

RowIndex and ColumnIndex

Thread ID:

Created:

Updated:

Platform:

Replies:

24082 Jan 27,2005 12:06 PM Jan 27,2005 12:35 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 27, 2005 12:06 PM

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 12:35 PM

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.

CONFIRMATION

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.

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.

;