I wish to do 2 different things : - Modify the 'Modified' cell by calling the 'setCellValue' when a row is modified. It works if I call the 'setCellValue' in the 'editRowEnded'. - Validate a editing row when I clic out of the grid. Indeed, I call the 'endEdit' method when I quit the editor (indeed, I subscribed to the 'focusout' event of the editor in the 'editCellStarting') In my sample, when I call the 'endEdit' method, my cell 'Modified' is never modified. | |||
Grid 1 : | Grid 2 : | ||
Grid with calling ONLY the 'setCellValue'.Result : - The 'setCellValue' works ! : The checkbox 'Modified' is to true : OK - But if I clic out of the grid, the row stay in edition ! Not OK |
Grid with calling the 'setCellValue'. AND calling the 'endEdit' method.Result : - The 'setCellValue' don't works ! : The checkbox 'Modified' is always to fals : Not OK - But if I clic out of the grid, the row is not in eddition anymore ! : OK |