i would like to know what is the best way to retrieve cell/s
i know 2 implementations
1)
var cells = $(“tbody > tr.jqgrow > td:nth-child(” + (iCol+ 1) + “)”, $('#grid')[0]);
var cell = $(cells[iRow]);
2)
$('#grid tr:eq(' + iRow + ') td:eq(' + iCol + ')')
which of the two is better?
is there a way to retrieve all cells in a row in which the collection of cells are jquery objects?
are there other ways?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top