Skip to Content

SmartTable passing annotations LineItem to see default columns

Hi Experts,

I am using a Smart table control inside a SmartFilterBar in a view.

Upon rendering of the view, I could see a blank table and I need to click on personalisation link to select the columns which I want to show in the table.

My requirement is to default all the columns in the table as soon as view is rendered. I searched in few of the posts and found that we can use

annotations "LineItem" to shows the initial columns in the SmartTable control.

Can you help me on how this can be achieved.

Below is the code:


<smartTable:SmartTable id="Smart_TT" entitySet="View" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="false" useVariantManagement="false" useTablePersonalisation="true" header="Items" showRowCount="true" persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="false" >





"i0xxxxxtrial.Demo_1.smartfilter::CalcView" as "View" keys ("Room") ;




enable OData4SAP;




Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 24, 2015 at 09:31 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2015 at 11:59 AM

    Hi Arun,

    maybe this can help you:



    Add a comment
    10|10000 characters needed characters exceeded

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.