AD
Administrator
Syncfusion Team
June 7, 2004 05:14 AM UTC
One way to do this is to handle either PrepareViewStyleInfo of Model.QueryCellInfo. In your handler, check e.RowIndex and e.ColIndex and whatever else you have to check to decide what to show. Then set the properties of e.Style acordingly. For text, you could set e.Style.CellType = "TextBox" and set e.Style.Text to the value you want to see. For Image, you might have this set as the default for the column so youwould not have to do anything in the event to just show an image cell.