Rawdon Edghill
86 posts
Registered:
16 Dec 2020
Answered
22 Aug 2023
Link to this post
Hi Mahesh,
Yes, there is a possibility to show a search text box on top of the TPC grid.
Kindly see the below code you can try to accomplish this.
//Grid Functionality
$(document).on("tpc:ready", function(){
var grid = tpc.find("TpcGridModel").get_grid();
var options = grid.getOptions();
options.toolbar.push("search");
options.search = {fields: ["fieldName"]};
grid.setOptions(options);
});
I hope this helps.
Regards,
Rawdon