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

Text in Top/Left Cell

I''m trying to place text in the top/left cell of a standard grid control, but it doesn''t seem to work. What is wrong with the following : private Syncfusion.Windows.Forms.Grid.GridControl gridCtl; // top/left cell to be a "select all" gridCtl[0,0].Text = "All";

1 Reply

AD Administrator Syncfusion Team December 9, 2005 01:04 AM UTC

I think the code is OK. Here is a sample showing it working. http://www.syncfusion.com/Support/user/uploads/GC_TopTeft_4d90b91c.zip You might check if the cell has been set to ReadOnly. Or, maybe you are handling an event like QueryCellInfo or PrepareViewStyleInfo that may be stepping of the previously set value.

Loader.
Live Chat Icon For mobile
Up arrow icon