GridStyleInfo to GridTableStyleInfo

Hi,

I am using a GGC and in the QueryCellFormattedText I am using the e.Style.CellIdentity.ColIndex property. But this seems to be not the correct one. So how can I get the correct one, is there a way to convert or get the corresponding GridTableStyleInfo object from a GridStyleInfo object?

Cheers,
Tom

1 Reply

HA haneefm Syncfusion Team April 12, 2007 05:38 PM UTC

Hi Tom,

You can try this code.

GridTableCellStyleInfo style = e.Style as GridTableCellStyleInfo;
int rowIndex = style.TableCellIndentity.RowIndex;

Best regards,
Haneef

Loader.
Up arrow icon