dojox
»
grid
»
selection
» getFirstSelected
dojox.grid.selection.getFirstSelected
dojo.require("dojox.grid._grid.selection");
defined in dojox/grid/_grid/selection.js
Usage
function ()
(view source)
for
(
var
i=
0
, l=
this
.
selected
.
length
; i
<
l; i++
)
{
if
(
this
.
selected
[
i
]
)
{
return
i;
}
}
return
-1
;