the button should be exactly in the same row as the filter toolbar text boxe exactly after the filter toolbar ends i.e. i want a button exatly in the same row as the filter toolbar text boxes. i tried this but it is not working
$('#gridTable').after("div.ui-jqgrid-view").find("div.ui-jqgrid-hdiv table.ui-jqgrid-htable tr.ui-search-toolbar").each(function () {
$('<button>').css({ float: "right", height: "16px", width: "16px" }).appendTo(this).button({
icons: { primary: "ui-icon-refresh" },
text: false,
title: "Clear Filters"
}).click(function (e) {
alert("hi");
});
});