[GL #55] Nested Headers with currentHeaderClassName, currentColClassName, currentRowClassName

Tags: #<Tag:0x00007efc72f778d8> #<Tag:0x00007efc72f77770>

Hello, we found another visual issue while using nested headers with currentHeaderClassName, currentColClassName, currentRowClassName.

Example below, if we setup currentHeaderClassName, currentColClassName, currentRowClassName the selection is wrong whenever you select multiple cells, the selection doesn’t go away, as well as for active headers.
There are 2 examples, first one is working, second one is broken.
http://jsfiddle.net/7zjzg5pd/12/

Regards.

Thanks for sharing.

In this demo, I added currentHeaderClassName which works fine for row headers but is acting unexpectedly for column headers.

http://jsfiddle.net/handsoncode/ht6hw3ag/

it works even worse when we use currentColClassName

http://jsfiddle.net/handsoncode/9vfevngq/

but (for me) it is OK for rows currentRowClassName

http://jsfiddle.net/handsoncode/83qwgbh2/

Hello @aleksandra_budnik,
Will it be planned to be fixed in upcoming releases ?
As we can do a workaround for now.

Thank you.

Hi @martin

I am glad that you have a workaround as it will be hard to push anything to already bulked schedule.

Can you share your workaround for other users that may find this issue?

Hey @aleksandra_budnik, yes sure.

The workaround is to handle these 4 events:

beforeOnCellMouseDown
afterOnCellMouseDown

beforeOnCellMouseOver
afterOnCellMouseOver

and setup desired visual effects/css-class to columns/rows/headers.

Specific to our use case, we keep an internal map of selected cells, and select/deselect rows/columns/headers after these 4 events, as we would like to have custom effects on selections.

.

Oh, OK. Thank you for sharing @martin

I hope the issue will be fixed soon.