Page 1 of 1

how to get new cellvalue entered on clicking button

PostPosted: 23 May 2019 11:28
by stephane
Hi,

i use a TIWCGJQGrid from jQuery Suite v 4.1.0.146 with a TIWCGJQGridCellsProvider

when i modify a value inside a cell if i click on a custom "save" button (outside the grid) then i don't get the new cell value entered in the EventClick of this button. The CellsProvider keeps the old value...

It works only if the cell loses the focus before cliking the "save" button

How can i get always the new cell value entered when i click "save" button ?

Thanks

Re: how to get new cellvalue entered on clicking button

PostPosted: 27 May 2019 16:07
by stephane
No anwser. Nobody have any idea ? Thanks

Re: how to get new cellvalue entered on clicking button

PostPosted: 30 May 2019 12:59
by Alexander Bulei
Hi stephane,

I've added new property CellEditOnBlurAction for next beta release.

Best Regards.

Re: how to get new cellvalue entered on clicking button

PostPosted: 03 Jun 2019 08:43
by stephane
Thanks Alexander,
i will try it as soon as possible !
Best regards

Re: how to get new cellvalue entered on clicking button

PostPosted: 05 Jun 2019 13:58
by stephane
Hi Alexander,
i downloaded and installed the CGDevTools 4.1.0.189 for IW15.0.21. I don't find any CellEditOnBlurAction. Please, in which next version (number) this property will be implemented ?
Thank you

Re: how to get new cellvalue entered on clicking button

PostPosted: 07 Jun 2019 08:59
by Alexander Bulei
Hi stephane,
It's not released yet..

Best Regards.

Re: how to get new cellvalue entered on clicking button

PostPosted: 12 Jun 2019 14:27
by stephane
Hi Alexander,

i try the new property in Grid Options "CellEditOnBlurAction" (version 4.1.0.196) but i don't succeed to use it because i still get the old value from the unique cell when i click on a button outside this grid.

Use case : 1 grid linked to a cellProvider with 1 column and at least 1 row . Click inside a cell, change the value and click on a button outside the grid. Catch the click event button for reading cellProvider cellValue => still the old value because the cell seems to keep the focus

Any solution to get the new value in this use case ? Thanks

Stéphane