Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
25303 | Feb 24,2005 04:13 AM UTC | Mar 2,2005 10:03 AM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
bool isInQueryRowCount = false; private void gridControl1_QueryRowCount(object sender, GridRowColCountEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if(cc.RowIndex > rowCount && !isInQueryRowCount) { isInQueryRowCount = true; cc.MoveTo(rowCount, cc.ColIndex); isInQueryRowCount = false; } e.Count = rowCount; e.Handled = true; }
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.