Hi Aravindhan,
Try something like this:
var ttDesvios = new sap.ui.table.TreeTable(); var cbDesviacion = new sap.ui.commons.CheckBox(); ttDesvios.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "Col1"}), template: new sap.ui.commons.Label({text: "Info"}), width: "50px", })); ttDesvios.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "Action"}), template: new sap.ui.commons.Button({text: "Delete"}).bindProperty("visible", "pathPropertyChild", function(value){ if(value .............){ return true;} //For child else{ return false;} //For parent }), width: "160px", }));
Regards
EDIT: Wrong paste code, that's better!