on 04-20-2016 7:32 AM
Hi Experts,
I am working on the Personalization Controller - Analytical Table with Smart table. i am getting the check boxes in the view for each item. i would like to disable the select option in the analytical table. How do i achieve this?
Thank you,
Regards,
JK
Message was edited by: Jayakrishnan Chandramohan
Hi JK,
You can try something like this:
var oSmartTable = this.getView().byId("oSmartTable"); //Get Hold of smart table
var oAnalyticalTable = oSmartTable.getTable(); //Analytical Table embedded into SmartTable
oAnalyticalTable.setSelectionMode("Single");
Unfortunately, Analytical table doesn't support selection mode as 'None'.
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JK,
Here you go:
var oSmartTable = this.getView().byId("oSmartTable"); //Smart Table
var oAnalyticalTable = oSmartTable.getTable(); //Analytical Table
var oColumns = oAnalyticalTable.getColumns(); //Columns with Array Type
oColumns[0].setWidth("10%"); //Change First Column width
//Likewise, you can change the width of other columns
Regards,
Sai Vellanki.
set property selectionMode to sap.ui.table.SelectionMode.None
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.