I want to use displayMsg to show more information about my table so , i want to add more things like :
'Displaying {0} - {1} of {2} - {3} '
For 3 i want add my own function something like :
Can i overide displayMsg from pagingtoolbar ? If yes , how ?
'Displaying {0} - {1} of {2} - {3} '
For 3 i want add my own function something like :
getSelectedItems: function () { var me = this;
var selItems = me.dyn.view.getSelectionModel().getSelection();
var selItemsLength = selItems.length;
var selItemsIds = [];
var i = 0;
if (selItemsLength) {
for (i = 0; i < selItemsLength; i++) {
selItemsIds.push(selItems[i].internalId);
}
}
return selItemsIds;
}
and return selItemsIds.length + some messege
Can i overide displayMsg from pagingtoolbar ? If yes , how ?
Aucun commentaire:
Enregistrer un commentaire