paulg
Newbie
Posts: 7
|
|
« on: August 29, 2016, 01:22:11 AM » |
|
Hallo everybody,
I'm using Easyui 1.4.5 for a datagrid, some columns are editable and some not. Some of the non editable contains merged cells. After the editing of a row, some event refreshes and "unmerge" all the current row.
There is something I can do to avoid that ?
Thanks in advance.
|
|
« Last Edit: November 24, 2016, 03:40:13 AM by paulg »
|
Logged
|
|
|
|
jarry
|
|
« Reply #1 on: August 29, 2016, 05:59:07 AM » |
|
After editing a row, you should call mergeCells method again to merge cells.
|
|
|
Logged
|
|
|
|
paulg
Newbie
Posts: 7
|
|
« Reply #2 on: August 29, 2016, 06:13:33 AM » |
|
Yes, but i have over 2000 rows and several columns to merge ... it takes a lot o time to redo the entire process.
|
|
|
Logged
|
|
|
|
jarry
|
|
« Reply #3 on: August 29, 2016, 06:04:08 PM » |
|
You don't need to merge all the cells, just merge that special row after editing it.
|
|
|
Logged
|
|
|
|
paulg
Newbie
Posts: 7
|
|
« Reply #4 on: November 22, 2016, 02:21:02 PM » |
|
Thanks, I tried to do that using an onEndEdit event, but I've noticed that a refreshRows is called after vanishing the merging again.
|
|
|
Logged
|
|
|
|
jarry
|
|
« Reply #5 on: November 23, 2016, 12:24:19 AM » |
|
Please try to use the 'onAfterEdit' or 'onCancelEdit' events instead.
|
|
|
Logged
|
|
|
|
paulg
Newbie
Posts: 7
|
|
« Reply #6 on: November 24, 2016, 03:25:23 AM » |
|
Thanks, worked like a charm !
|
|
« Last Edit: November 24, 2016, 03:39:40 AM by paulg »
|
Logged
|
|
|
|
|