Accessing GridStaticCellRenderer from GridControl

In the GridControl is there a way to access a cell GridStaticCellRenderer from a cursor position (x, y) ? I don''t want to drag and drop on special location and only the GridStaticCellRenderer knows those location. Thank!

2 Replies

AD Administrator Syncfusion Team December 12, 2005 04:51 PM UTC

I am not sure I understand your question. You can get a cell renderer from a rowIndex and colIndex using gridControl1.GetCellRenderer method. If you need to get the rowIndex and colIndex from a point, you can call the gridControl1.PointToRowCol method.


AD Administrator Syncfusion Team December 12, 2005 05:36 PM UTC

That is exactly what I needed.

Loader.
Up arrow icon