QueryColCount not firing

brought in a new gridcontrol. trying to do a virtual grid. added event handler for; querycellinfo querycolcount queryrowcount querycolwidth but querycolcount is just not firing.. the other events work just fine . any ideas ?? thks, ak

1 Reply

AD Administrator Syncfusion Team September 28, 2005 11:11 PM UTC

Adam, that sounds odd. you must have done something wrong when you wired up the querycolcount event. Should look as follows: gridControl1.QueryColCount += new GridRowColCountEventHandler(GridQueryColCount); void GridQueryColCount(object sender, GridRowColCountEventArgs e) { e.Count = xyz; e.Handled = true; } Please double check your code ... Stefan >brought in a new gridcontrol. trying to do a virtual grid. > >added event handler for; > >querycellinfo >querycolcount >queryrowcount >querycolwidth > >but querycolcount is just not firing.. > >the other events work just fine . any ideas ?? > >thks, >ak

Loader.
Up arrow icon