Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advance search with w2grid is missing of column type checkbox #2589

Open
vinhpt2 opened this issue Nov 19, 2024 · 1 comment
Open

Advance search with w2grid is missing of column type checkbox #2589

vinhpt2 opened this issue Nov 19, 2024 · 1 comment

Comments

@vinhpt2
Copy link

vinhpt2 commented Nov 19, 2024

When w2grid have column with type = 'checkbox' or 'check', the advance search of this grid show that column for search but cannot do any thing with it. Please fix.

@alexkuznetsov
Copy link
Contributor

Hi @vinhpt2

AFIK, you are talking about editable preferences. But, generally speaking, there is no column type property in the grid.

You can set the search preferences for the desired field manually, see the docs.

Example:

searches: [
      ..., 
     {
        field:'isComposite',
        operator: 'equals',
        label: 'Is Composite',
        type: 'list',
         options:{
          items:[{ text:'Yes', id:true },{ text:'No', id:false }]
         }
      }
    ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants