Dynamic Content
In some cases you have a DataTable and may want to change table values depending on other values in the table. You can add this to a JavaScript on the drawCallback of the <<UITableBinding>>.
Add a script code like the following, e.g. to hide a UI element.
table.find('tr').each(function(){
var data = table.fnGetData(this);
if(data){
if(data[14]==='false'){ $(this).find('.ID::<name of the UI element>').hide(); }
}
});
This script hides a UI element if the value of column number 15 is false. The indices refer to the data columns - column 15 has an index of 14.