cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to freeze list report columns in Fiori elements.

ashutos-singh
Discoverer
0 Kudos
978

Hi everyone,

I am working on firoi element annotation, I have requirement for freezing list report column.

Could you kindly help me with this, please?

Thanks,

Ashutosh

Accepted Solutions (0)

Answers (1)

Answers (1)

fischerm
Explorer
0 Kudos

Hey Ashutosh, 

I found a solution for your problem. You can add the column freeze option like this:

Add the onInit method in your ListReportExtension controller and enable column freeze option.

onInit: function() {
            debugger;
            this.byId("YourSmartTableId").getTable().setEnableColumnFreeze(true);
        }

Found the solution through this post https://community.sap.com/t5/technology-q-a/how-to-remove-freeze-option-in-fiori-list-report/qaq-p/1...  

Kind regards,