BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
<ej:Grid ID="GridDetails" runat="server" AllowPaging="true" AllowGrouping="false" AllowSorting="false" AllowKeyboardNavigation="false" AllowSearching="false"
OnServerEditRow="GridDetails_ServerEditRow" OnServerRecordClick="GridDetails_ServerRecordClick"
ActionBegin="detailsActionbegin" ActionComplete="delatilsActioncomplete" MergeCellInfo="detailsMergeCellInfo" CellSave="detailsCellSave" CellEdit="detailsCellEdit" AllowResizeToFit="true" QueryCellInfo="formatingCell" EnableRowHover="True" >
<script type="text/javascript">
$(function () {
$("#GridDetails").ejGrid({
cellEdit: function (args) {
alert("cellEdit");
}
});
$("#GridDetails").ejGrid({
cellSave: function (args) {
alert("cellSave");
}
});
$.validator.addMethod("action", function (value, element, params) {
alert("action");
return true;
}, "");
});
function detailsCellEdit(args) {
alert("detailsCellEdit");
}
function detailsCellSave(args) {
alert("detailsCellSave");
}
</script>
Regards,
Andreas
Hi Andreas Hubert
Thanks for your interest in Syncfusion Products.
Query #1: events
CellEdit and CellSave are not triggered
We have analyzed the reported query and suspect that the
cause of the issue is that you would have missed out to set the editMode as
“Batch” for the grid.
The events CellEdit and CellSave are triggered only when
Batch editing is enabled.
We have created a sample with the provided information in v12.2.0.36 and the same can be
downloaded from the below location.
Sample Link: http://www.syncfusion.com/uploads/user/directTrac/General/Sample1038942650.zip
Query #2:
MergeCellInfo
We went through the code that you have provided and found
that you have used MergeCellInfo property in your sample.
<ej:Grid ID="GridDetails" runat="server" AllowPaging="true" AllowGrouping="false" AllowSorting="false" AllowKeyboardNavigation="false" AllowSearching="false"
OnServerEditRow="GridDetails_ServerEditRow" OnServerRecordClick="GridDetails_ServerRecordClick"
ActionBegin="detailsActionbegin" ActionComplete="delatilsActioncomplete" MergeCellInfo="detailsMergeCellInfo" CellSave="detailsCellSave"CellEdit="detailsCellEdit" AllowResizeToFit="true" QueryCellInfo="formatingCell" EnableRowHover="True" >
We have included the cell merging feature only in our Volume
3, 2014 v12.3.0.36 release. You can download Volume 3, 2014 from the following
link.
Download link for
Volume 3, 2014: http://www.syncfusion.com/forums/117495/essential-studio-2014-volume-3-final-release-v12-3-0-36-available-for-download
Query #3: it
seems validation events are triggered for columns with EditType String and
Decimal only. For Boolean, Date(Time)Picker and DropDown it do not work.
We are sorry to let you know that it is a known issue and
the fix for this issue in included in the above Volume 3 link. Please upgrade
your project to latest release to avoid the mentioned issue and for better follow
ups.
Please get back to us if you need any further assistance.
Regards
Ragavee U S