How would I go about setting the ID of a particular cell in a grid?
Wednesday, April 26, 2006
you can set the ID of the control (grid) and all inner parts will be assigned the IDs automatically based on the template or content names and the index values (joined by '-' separator). For example, if the grid ID is myGrid the first cell in the second row will have ID myGrid-cell-0-1. The first row will be myGrid-row-0 etc. You can assign individual styles to each cell using their ids.
You can quickly see the ID of the required part using Firefox DOMInspector tool.