Customize filter

Tags: #<Tag:0x00007f8b23e7dac8>

Hello,
is there any way to customize filter, for example remove Read Only, Insert Column, Clear Column and also to apply localization, dynamically change language of filter if I need it in Russian, Chinese or any other language.
Will appreciate your help!

Hi @alext

Yes, you can add custom option or resort the defaults.

Examples

  1. Removing options for some columns https://jsfiddle.net/cxygpLr9/
  2. Custom option http://jsfiddle.net/AMBudnik/5ob8drut/
  3. Use of predefined keys https://jsfiddle.net/ydwug4of/

Here https://handsontable.com/docs/7.4.2/demo-context-menu.html under the Context menu with specific options is a list of predefined options that you can use for context and dropdown menu.

When it comes to languages here’s our i18n tutorial on how to change a language https://handsontable.com/docs/7.4.2/tutorial-internationalization.html. We already created a language pack for ru-RU so you do not need to create your own translation.

Thank you very much, that’s what I needed. Have a nice day!

You’re welcome. Feel free to open a new ticket when needed.