Dear all,
I'm working on an application ASP.MVC that has been migrated on Framework 4.8 (initially on 4.5.2) and globally working fine.
But i've encoutred three major problems with igGrids :
- the command EnableAddRow(true) never show the button. - Jscript events like grid.on("iggridupdatingrowdeleting", function (e, args) {…}) are never called. - When editing a row data they are never update them in BDD, idem when a row is deleted (event not called too).
At this stage i'm using a Trial version of IgniteUI but i've not found any limitation that can explain these problems.
Did you have any idea ?
Best regards.
Claudio.
Sample of code :
<%= Html.Infragistics() .Grid(Model.ListeEtiquette) .ID("GridListeEtiquette") .PrimaryKey("REF") .DataSourceUrl(Url.Action("GetEtiquette")) .AutoCommit(true) .AutoGenerateColumns(false) .Columns(column => { column.For(x => x.REF).HeaderText("N°d'étiquette").Width("280"); column.For(x => x.StatutString).HeaderText("Statut").Width("200"); }) .Features(features => { features.Paging().Type(OpType.Local); features.Sorting().Mode(SortingMode.Single).Type(OpType.Local); features.Updating() .EnableAddRow(true) .Locale(lc => lc.AddRowLabel("Ajouter des étiquettes") .AddRowTooltip("Ajouter des étiquettes")) .EnableDeleteRow(true) .StartEditTriggers(GridStartEditTriggers.DblClick) .EditMode(GridEditMode.Row) .ColumnSettings(settings => { settings.ColumnSetting().ColumnKey("REF").ReadOnly(true); settings.ColumnSetting().ColumnKey("StatutString").ReadOnly(true); }); }) .DataBind() .Render()%>
In addition geometry dash lite to helping other community members gain from the threads' consistency, this makes the material in our forum easily accessible. Moreover, it facilitates us in offering you more precise and superior assistance. In this forum post, my colleague has given a thorough explanation and a functional sample, which I feel addresses the same concern.
It means a lot to me that you shared the information with other people. After devoting a considerable amount of effort to researching a certain issue, I stumbled onto this topic and immediately recognized its profound relevance to that subject. basketball stars
poppy playtime I really value the fact that you took the time to share the information with others. I had been doing research on a certain subject for quite some time when I came across this topic, and I realized that it was really relevant to that subject.
Hello Claudio,
This behavior is caused by the “StartEditTriggers(GridStartEditTriggers.DblClick)” which allows the user to edit the grid after they double click the button/cell that they want to update. Adding new row by clicking only once on the button could be achieved by removing the StartEditTriggers property.
Please test it on your side and let me know if you need any further information regarding this matter.
Regards, Aleksandar Atanasov,
Infragistics.
Hello Aleksandar,
Thank for your help, it seems working fine now .
I did however notice that the plus [+] button appears disabled and only works if I double click on it, any idea why I am having this behavior?
THANKS.
Sincerely.