Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
8345 | Nov 3,2003 12:04 PM UTC | Nov 3,2003 02:25 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
if(e.ColIndex > 0 && e.RowIndex > 0)
{//
to prevent trying to set values when e.RowIndex == 0? You should if you want the grid to provide these values from its store.
Also, are you handling SaveCellInfo? If so, you should not be setting e.Handled = true when e.RowIndex == 0. If you do this, it will prevent the grid from saving the changes for row 0 to its data store.
If you are dynamically providing the rowcount through QueryRowCount for a virtual grid, you can also try setting grid.Model.Data.RowCount = 1 so the grid will allocate the storage for this header row.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.