show add and delete buttons and hide the rest from the datatables's toolbar, is it posible?

show add and delete buttons and hide the rest from the datatables's toolbar, is it posible?

dvnandoverdvnandover Posts: 42Questions: 0Answers: 0
edited November 2011 in General
If my sDom is like this "sDom": 'rt' then it got this error "Microsoft JScript runtime error: Exception thrown and not caught" around these codes :
if ($(properties.sAddDeleteToolbarSelector).length == 0) {
throw "Cannot find a button with an id '" + properties.sAddNewRowButtonId + "', od placeholder with an id '" + properties.sAddDeleteToolbarSelector + "' that should be used for adding new row although form for adding new record is specified";
} else {
oAddNewRowButton = null; //It will be auto-generated later
}
and then the buttons (Add and Delete) are not shown
I just want to hide everything except the Add and Delete buttons.
This discussion has been closed.