Skip to Content

fixedColumncount in sap.ui.table.table is not available in sap.m.table

Hi,

i have a requirement of enabling fixedcolumn count in sap.m.table which is available in the sap.ui.table.table

is there any way to make it available in the sap.m.table...if so please share this will be reallly helpful for me

thanks in advance

Regards

Raghu M

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 23, 2015 at 05:46 AM

    Hi Raghu,

    sap.m.table is responsive so it is adjust the width based on devices screen width,

    so fixedcolumncount is not available.you can set width for the table.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2015 at 06:21 AM
    Add a comment
    10|10000 characters needed characters exceeded

    • Robin,

      The purpose of fixedColumnCount is to make columns referenceable, i.e say I want my Name column fixed and rest of the columns scrollable, this way I can refer the hidden columns information to the Names from my fixed column.

      Now the question about being responsive, on smaller screens the data is wrapped under the first column data and by default referenceable to the first column. In short the purpose of fixedColumnCount in a smaller screen is already handled, but on larger screen we are not able to do this using sap.m.Table.

      If there is a way to accomplish this or we have to extend sap.m.Table to get this behavior.

      Any help will be appreciated.

      Thanks.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.