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

Filters are not applied by default #56

Open
asbpette opened this issue Oct 9, 2024 · 1 comment
Open

Filters are not applied by default #56

asbpette opened this issue Oct 9, 2024 · 1 comment

Comments

@asbpette
Copy link

asbpette commented Oct 9, 2024

I am trying to set filters like documented, but the filters are not applied as i expect. Does anybody have an idea on why?

I am defining the cols, per docs.

const cols = reactive([
	{
	field: "status.status",
	title: "Status",
	filter: true,
	condition: "is_null",
	value: "",
	type: "string",
	isUnique: false,
	hide: false,
	search: true,
	sort: true,
	html: false,
	},
	{...},
	{...}
]),

With this code, i expect the column to automatically filter rows where status.status is null, but no matter what i add as "condition" the filter is set to "contains"

Any ideas to how i should debug this?

@bhaveshpatel200
Copy link
Owner

I think it should work with predefine filter values.
Could you please let me know are you using Server side pagination or Client side pagination?

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