This topic contains 1 reply, has 2 voices, and was last updated by Hristo 7 years, 11 months ago.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Grid › cellvaluechanging event not getting fired
Tagged: #jqwidgets-grid, asp .net mvc, grid, html, javascript grid, jQuery, jquery grid, jqxgrid
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 7 years, 11 months ago.
Hi,
I have applied cellvaluechanging event for a particular column in jqxgrid but the event is not getting fired. Any help is apprecitated.
$(“#mainData”).jqxGrid(
{
width: ‘99.5%’,
pageable: false,
height: ‘100%’,
rowsheight: 30,
altrows: true,
source: dataAdapter,
groupable: true,
groups: [‘Series’],
showgroupsheader: false,
groupsrenderer: function (defaultText, group, state, params) {
return “<div style=’margin: 5px;’>” + ” + “</div>”;
},
groupsexpandedbydefault: true,
sortable: false,
filterable: true,
filtermode: ‘excel’,
columnsresize: true,
columnsreorder: true,
editable: true,
selectionmode: ‘multiplecellsadvanced’,
columns: [
{ text: ‘Production Resource’, datafield: ‘ProductionResource’, width: ‘8.5%’, editable: false, groupable: false },
{ text: ‘Series’, datafield: ‘Series’, width: ‘8.5%’, editable: true },
{ text: ‘Item Status’, datafield: ‘ItemStatus’, width: ‘8.5%’, editable: false, groupable: false },
{ text: ‘Future Status’, datafield: ‘FutureStatus’, width: ‘6%’, editable: false, groupable: false },
{
text: ‘Adj Prod Qty’, datafield: ‘AdjProdQty’, width: ‘5%’, editable: true, groupable: false,
cellvaluechanging: function (row, datafield, columntype, oldvalue, newvalue) {
}
},
]
});
Hello vinu,
I tested it and it seems to work fine.
You could try to add some warning (alert()) in the cellvaluechanging
callback.
I would like to ask you to say if there are some error message.
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
You must be logged in to reply to this topic.