General Category > ParamQuery Pro Evaluation Support
How to Change the selectallText in Dropdown
(1/1)
cui:
Hi everyone,
I would like to know how to change the ?selectallText? in the dropdown. I want to customize this text to show a specific message (e.g., "All Items Selected").
Could anyone provide guidance on how to achieve this? Any code examples or documentation links would be greatly appreciated!
Thank you in advance for your help.
Best regards
paramvir:
That's column.title of the filter grid, so use the column.filter.selectGridObj property to update it.
--- Code: ---selectGridObj: function (ui) {
ui.obj.colModel[0].title = "Hello World";
},
--- End code ---
More about use of selectGridObj is documented here:
https://paramquery.com/pro/demos/filter_custom
cui:
--- Code: --- filterFn(ui) {
if (ui.condition == 'range') {
ui.column.pq_title = '全部'
return {
attr: "placeholder='请选择' readonly",
}
}
},
--- End code ---
I have already completed it using this method, but I didn't lock in the topic in time. Thank you for your response!
Navigation
[0] Message Index
Go to full version