is it possible to set the value of a cell programatically using the cell description property. For example I would assign the cell a1 a description "LoanTerm" could I then programatically place a value ib the cell.
ADAdministrator Syncfusion Team January 7, 2005 11:17 AM
I am not sure I understand.
But if you want the grid to display what you set as the style.Description property instead of its normal display of style.CellValue (which is equivqlent to style.Text), then one way to do this is to subscribe to the DrawCellDisplayText event. In your handler set:
e.DisplayText = e.Style.Description
TTTito ToroJanuary 7, 2005 11:34 AM
Sorry I''ll try to rephrase it.
Instead of setting a cell value using the range.
Is it possible to use it''s description property to reference the cell?
TTTito ToroJanuary 7, 2005 11:50 AM
gridControl1[1, 1].CellValue = "123456";
sets the value.
is there a way to set the cellvalue using the description property?
ADAdministrator Syncfusion Team January 7, 2005 03:41 PM
What descrption property are you talking about?
gridControl1[1, 1].Description = "PushButtonText";
sets the text that appears on PushButton cells.
So, I don''t know of any other description property that you can set. If you set the gridControl1[1, 1].Description property for cells other than PushButtons, you can make this description appear in the cell using the event I mentioned above.