cancel
Showing results for 
Search instead for 
Did you mean: 

Disable resizing , sorting and filtering of columns in sap.ui.table.Table

1,655

Hi,

In my application I have resizing ,sorting and filtering enabled in table columns.

At certain action, I need to disable all these.

I could find api for reordering of columns:  table.setEnableColumnReordering(false);

But not for the esizing ,sorting and filtering.

Can anyone help me with this.

Thanks,

Archana

Accepted Solutions (0)

Answers (1)

Answers (1)

saivellanki
Active Contributor

Hi Archana,

You can find re-sizable property at sap.ui.table.Column definition:

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.table.Column

However for filter / sort it is not straight forward, one work around would be toggling the pop over menu enabled / disabled.

Will this sample help? JS Bin - Collaborative JavaScript Debugging

Working Snippet:

Regards,

Sai.