Hello,
I have a problem with the HerarchicalGrid. I would like to update a cell value when another cell in the row is edited.
I tried to use the SetCellValue in the 'editRowEnded' event for each features of each columnslayouts and I have two problems :
- it updates the cell value but only in the first grid of the hierarchy. In the sub grids is doesn't work.
- the new value is only updated graphically when the row is edited.
I attached a sample to show you how I did it.
Regards.
Hi,
Is anyone can help me please ?
Hello Cosoluce_Stones,
Thank you for posting in our forum.
I would suggest you to modify your code for setting the cell values in the child grid like this:
$(ui.owner.element).igGridUpdating('setCellValue', ui.rowID, 'Ship',true);
Please let me know if this helps.
Indeed it works ! Thank you.
I have another question : Is it possible to do the same thing (set the cell value) but without calling the 'commit' method ?
Because I wish to keep all of the modified rows in 'italic' ?
Best regards.
It seems that there is some issue with setCellValue in the version you are using. I would suggest you to upgrade to the latest version of IgniteUI and see if this behavior still occurs.
Hi Nikolay,
I already have the lastest version of IgniteUI.
Your solution work for me (to set the 'primaryKey'), but I wish to know how can I set a cell value by without calling the 'commit' method.
Indeed when I call the 'setCellValue' method and after that I call the 'commit' method, the cell value is changed. But the edited row is no longer in italic.
I wish to set a cell value without calling the 'commit' method. I wish to keep my edited rows in 'italic'.
In order to do this you should set autoCommit to false. This will enable the batch updating mode.
Hope this helps.
I already set 'autoCommit' to false, it's not my problem.
I just wish é thing :
- Set a cell value programmaticaly (using the 'setCellValue' method)
- Keep all of edited rows in 'italic'
Here is a video to show you my problem :
- http://sdrv.ms/19YhbFh
I attach a sample to show you my problem.
Hi Coso,
I just want to let you know that this issue has been fixed in the latest service release which can be found under you Infragistics account.
I have created a support ticket on your behalf regarding this issue. Its number is CAS-123758-Q4Q8F5. You can view this case on our website by going to Account - Support Activity. I will contact you through this ticket with more information on the matter.