In a gridview, if I set the "filter" property of a column as an array, the filter will be rendered as a dropdown list by default, with the first option is an empty string meaning no filtering. How can I set to render the first option as "All" instead of an empty string?
Yes, I’ve read the docs. It seems to me that the only difference is that “the ‘empty’ option can also be an array of value-label pairs. Each pair will be used to render a list option at the beginning.”
If a string is given, they generate the same HTML. Seems that we can always use ‘empty’