Hi All,
When I double click on a row of grid, I want to reach data.
From API Reference, I see following:
$('#jqxGrid').on('rowdoubleclick', function (event)
{
var args = event.args;
// row's bound index.
var boundIndex = args.rowindex;
// row's visible index.
var visibleIndex = args.visibleindex;
// right click.
var rightclick = args.rightclick;
// original event.
var ev = args.originalEvent;
});
How can I reach text data located at cells. My grid columns are :
var sourceCityStoreCount =
{
datatype: "json",
datafields: [
{ name: 'CityID', type: 'int' },
{ name: 'City', type: 'string' },
{ name: 'Count', type: 'int' }
],
id: 'CityID',
url: '/json_city_store_count'
};
I want to reach CityID of selected row. How can I do it? I tried following but did not work:
args.data.CityID
Also what is the difference between boundIndex and visibleIndex? It gives same value for me.