on 10-12-2016 3:12 AM - last edited on 02-04-2024 6:30 AM by postmig_api_4
Hi All,
I want to row click action in table sapui5, but I can't show checkbox for table row,
var oColumn1 = new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text: "KODE KELOMPOK",
textAlign : "Center"}),
template : "KODE_KELOMPOK",
sortProperty : "KODE_KELOMPOK",
filterProperty : "KODE_KELOMPOK"
});
var oColumn2 = new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text: "NAMA",
textAlign : "Center"}),
template : "NAMA",
sortProperty : "NAMA",
filterProperty : "NAMA"
});
var oColumn3 = new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text: "MINIMAL USIA MASUK",
textAlign : "Center"}),
template : "MINIMAL_USIA_MASUK",
sortProperty : "MINIMAL_USIA_MASUK",
filterProperty : "MINIMAL_USIA_MASUK"
});
var oColumn4 = new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text: "MAKSIMAL USIA MASUK",
textAlign : "Center"}),
template : "MAKSIMAL_USIA_MASUK",
sortProperty : "MAKSIMAL_USIA_MASUK",
filterProperty : "MAKSIMAL_USIA_MASUK"
});
var oColumn5 = new sap.ui.table.Column({
label : new sap.ui.commons.Label({
text: "TERUSAN",
textAlign : "Center"}),
template : "TERUSAN",
sortProperty : "TERUSAN",
filterProperty : "TERUSAN"
});
How to add properties for show a checkbox? because if I see SAP documentation for SAPUI5, I still confuse for best practice add a SAPUI5 element . and how to best practice? Thank you.
Regards,
Bobby
Did you check this?
https://blogs.sap.com/2014/04/08/understanding-sapuitabletable-in-10-minutes/
-Sharadha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.