| Spread.Sheets Documentation > Sample Code > Sample Code for Cells > Getting Header Cell Index from Mouse Click |
You can get the index of the header cell when selecting it with the mouse.
This example gets the index for the header cell.
| JavaScript |
Copy Code
|
|---|---|
|
var spread = new GC.Spread.Sheets.Workbook($("#ss")[0]); if(target && |
|