on 2019 Nov 18 9:38 AM
Hi ,
I have used a Smart Table of type "Table" and used an sap.ui.table inside my smart control. I have set the property showTablePersonalisation as "true" to enable the personalisation dialog. But when i click on the settings button in my table it throws this error " Uncaught TypeError: Cannot read property 'openDialog' of undefined".
Any ideas on how to solve this issue will be highly appreciated, thanks!!
Regards
Imtiaz N
Request clarification before answering.
Try using below code, referenced from here .
Custom data key for each custom is required field and its value should be p13nData only.
<columns>
<Column id="SalesOrder" hAlign="Begin" >
<customData>
<core:CustomData key="p13nData" value='\{"columnKey": "SalesOrder","columnIndex":"2"}'/>
</customData>
<Text text="SalesOrder"/>
</Column>
</columns>
<items>
<ColumnListItem>
<cells>
<!-- text or input field as per your requirement. -->
</cells>
</ColumnListItem>
</items>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.