cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 sap.ui.table multiselection cleared on filter

former_member658277
Discoverer
694

Hi UI5 experts,

I have an issue with the sap.ui.table when I'm filtering it. I am using the table in Multisection mode.
After selecting one or more rows, I want to apply the filter to the content of my table. If I do, the select boxes on the left side are getting cleared.

Example before filtering:

Example after filtering:

The sap.m.table is doing fine and keeping the selection:

after filtering:

You can see the same behaviour in the demo kit.

The ui.Table clears the checkboxes on filter event:

https://sapui5.hana.ondemand.com/#/entity/sap.ui.table.Table/sample/sap.ui.table.sample.Filtering

The m.TableSelectDialog which uses m.table works fine (use multiselect as example):

https://sapui5.hana.ondemand.com/#/entity/sap.m.TableSelectDialog/sample/sap.m.sample.TableSelectDia...

Is there any way to keep the selection in ui.table. I also don't find any event, which is called after the table is updatet completely. Then I would do that programmatically.

Unfortunetly I can't switch to m.table because I need a treetable which is just available in ui lib.

Best regards

Kevin

Accepted Solutions (0)

Answers (0)