📔
DataGrid Documentation
  • Getting Started
  • Buy DataGrid on CodeCanyon
  • Controls
    • Text Filter
    • Sort DropDown Control
    • Sort Button Control
    • Checkbox Filter
    • Radio Button Filter
    • Select Filter
    • Button Filter
    • Pagination
    • Page Size Control
    • Label Control
    • Reset Button
  • Multiple version of the same control (data-id attribute)
  • Languages Support
  • Special Classes
  • Deep Links
  • Storage
  • Multiple DataGrids on Page
  • Filter AND/OR Logic [NEW]
  • How To
    • How To Sort Table in JavaScript
    • HTML Table with Sortable Headers
    • How to Filter HTML Table By Multiple Columns
    • Double Sort (Multiple Column Ordering)
Powered by GitBook
On this page

Was this helpful?

Languages Support

By default, all controls have a data-skip attribute that defines what characters should be skipped during sorting, filtering, etc.

Initially, this attribute contains regex [^a-zA-Z0-9]+, meaning that control should skip all characters except English letters and numbers.

In other languages, control should have different regex with the letters of the given alphabet.

For example, for French, it could be:

[^a-zàâçéèêëîïôûùüÿñæœ0-9]+

In text filter control you may use it in the following way:

<input
    type="text"
    placeholder="Filter by title"
    data-grid-control="text-filter"
    data-path=".title"
    data-skip="[^a-zàâçéèêëîïôûùüÿñæœ0-9]+"
/>

Please check the relevant control documentation page for data-skip usage examples.

PreviousMultiple version of the same control (data-id attribute)NextSpecial Classes

Last updated 4 years ago

Was this helpful?