Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在网格启动后,我无法更改数据网格的一个单元格。我想改变一些单元格的颜色,我需要询问这个单元格是否有另一个值作为另一列中的单元格,然后如果这是真的改变颜色。
我怎样才能做到这一点?
Try
var rows = dojo.query(".dojoxGridRow", grid.domNode); var cellsInSecondRow = dojo.query("td", rows[1]); var cellTwoInSecondRow = = dojo.query("td[idx='1']", rows[1]);
etc..