cancel
Showing results for 
Search instead for 
Did you mean: 

Freeze table – fixed columns

Nieves_Navarro
Participant
0 Kudos

Hi experts!

My app has a table with two fixed columns on the left, but the problem is that when setting fixed the columns, the size of the rows from the part of the table that is not fixed mismatch its size. It's seems ok in local attempts, but when I try to deploy in the backend and run this version the size mismatch.

I have tried forcing the sapUiSizeCozy mode (because it worked when i changed it from the developer mode in the browser) but it's not working when I force it from the app.

The fixed columns are set like this in the controller:

this.oCurrTable.setProperty("fixedColumnCount",2);

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

ruben_rollano
Participant

Hello Nieves,

Please, be sure to fix the columns after the table is rendered. You can set the fixed columns in the onDataReceived Method instead of onInit.

Best regards.

Nieves_Navarro
Participant
0 Kudos

yes, that was the problem,

Thanks!

Answers (0)