<table dojotype="dojox.grid.DataGrid" id="grid" noDataMessage="No results found in the current map extent" style="height:250px; overflow:scroll; font-size:smaller;" selectionMode="single" > <thead> <tr> <th field="OBJECTID" width=25px >Id</th> <th field="STATION_STOP_SITE" width=120px >Location Site</th> <th field="INCIDENTFULLADDRESS" width=170px >Address</th> </tr> </thead> </table> ... dojo.require("dojo.store.Memory"); dojo.require("dgrid.Selection"); dojo.require("dojo.on"); dojo.require("dojo.dom"); dojo.require("dojo.domReady!"); dojo.require("dojo.parser"); .... function GetItemFromGrid(e) { var count = e.rowCount; // return 115 var items = grid.selection.getSelected(); ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)