Skip to Content
0

Customize Group in Smart Table

Aug 07, 2017 at 10:36 AM

186

avatar image
Former Member

Hi Experts,

i am using the smart table , and i want to display only few columns in the group tab in the smart setting dailog , i am currently doing it by removing sortProperty attribute from the customData , But if i remove sortProperty, columns are getting hidden from both Sort and Group option, I need to hide only from the Group tab in the smart control settings, Please help.

<Column hAlign="Left"> <customData> <core:CustomData key="p13nData" value='\{"columnKey": "EVT_DATE","leadingProperty": "EVT_DATE","filterProperty": "EVT_DATE"}'/> </customData> <Text text="{i18n>table_Date}"/> </Column>

<Column hAlign="Left"> <customData> <core:CustomData key="p13nData" value='\{"columnKey": "VEHICLE_NAME","leadingProperty": "VEHICLE_NAME","sortProperty": "VEHICLE_NAME","filterProperty": "VEHICLE_NAME"}'/> </customData> <Text text="{i18n>tableVehicleNameColumnTitle}"/> </Column>

if i remove sortProperty attribute, the columns are hiding from both Sort and Group in the smart control,

Thanks in advance

Pradeep

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member
Aug 08, 2017 at 03:13 PM
0

Grouping works by sorting the columns so that they are adjacent to each other and can be 'grouped'.

So, if sorting is possible, grouping on those columns should also be possible.

That might be the reason they are bound together with the same property.

Would be interesting to know if someone has the solution.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Yogesh,

Thank you so much for the reply, and yeah it is interesting and also it will solve my issue :P , if some on has a answer for this. :)

0