ce icon indicating copy to clipboard operation
ce copied to clipboard

Delete wrong selected row when jexcel have merged-cells .

Open TsePakKwan opened this issue 7 years ago • 7 comments

hi @paulhodel , I try to use jexcel v3 Merged cells function, then find a bug. delete wrong selected row when jexcel have merged-cells . could you solve it? https://bossanova.uk/jexcel/v3/examples/merged-cells

detail please refer below image. 1562373245291

I think fix this error should be the cancel the merged-cells selection when on selection.

TsePakKwan avatar Jul 06 '19 00:07 TsePakKwan

+1 I got the same problem.

When there are some merged cells in my spreadsheet, many columns or rows have the incorrect "selected" class. eg. <td data-x="2" title="C" class="selected" style="text-align: left;">C</td>

In addition, when the method getSelectedColumns(asIds) is called, all incorrect "selected" columns will be returned.

Therefore, when I delete some columns, the incorrect "selected" columns will be deleted at the same time.

qiuyinglanshan avatar Jul 06 '19 07:07 qiuyinglanshan

Yes, I got the some here. I am working to fix that this weekend. thanks for spotting that out.

pphod avatar Jul 06 '19 10:07 pphod

It has been fixed, it will be available in the master repo in 30min

pphod avatar Jul 06 '19 18:07 pphod

Hi @paulhodel, thanks for your hard work, but there may be still some problems I think~ -- jExcel v3.3.1 copied from the master branch.

WechatIMG391

WechatIMG392

qiuyinglanshan avatar Jul 08 '19 03:07 qiuyinglanshan

I found one other issue, that has been fixed. Hope all fine now.

pphod avatar Jul 08 '19 21:07 pphod

I found one other issue, that has been fixed. Hope all fine now.

Yes, it works. Thanks a lot for your nice work and quick response.

qiuyinglanshan avatar Jul 10 '19 10:07 qiuyinglanshan

Inuse the last CE version. I have issue too with merged cells vertically, cannot remove all data or replace with setData.

soinalastudio avatar Jun 07 '24 23:06 soinalastudio