The form we are customizing has a List or Library control and is connected to a SharePoint list as the data source. Would like to know whether there is an option to show an empty row template when there is no record to display? (like "No record(s) found!")
Dear @sooraj,
There is a better way to do it actually, try this instead:
fd.spRendered(function(){
//run on form load
fd.control('SPDataTable1').$on('ready', function(ctrl){
ctrl.widget.setOptions({
noRecords: {
template: "No data available on current page."
}
});
});
});