Hey there.
I’ve noticed ajaxDelOptions (when press “Delete” button for row) is not working properly.
Please see my js-code below:
1 2 3 4 |
$SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions = new Object(); $SchemaAttrGrid.jqGrid()[0].p.ajaxDelOptions.beforeSend = function(event, jqXHR) { return SchemaAttributeGridBeforeEditDelete(event, jqXHR); } |
And following code for “Edit” button is working properly (in same manner):
1 2 3 4 |
$SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions = new Object(); $SchemaAttrGrid.jqGrid()[0].p.ajaxRowOptions.beforeSend = function(event, jqXHR) { return SchemaAttributeGridBeforeEditDelete(event, jqXHR); } |
ajaxDelOptions have only declaration (line #8450) and usage code (line #8592).
I think in some place inside of method delGridRow (for example #8460) should be following line:
1 |
rp_ge[$t.p.id].ajaxDelOptions = $t.p.ajaxDelOptions !== undefined ? class="brush-javascript syntax">$t[0].p.ajaxDelOptions : {} |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top