search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Filter in columns

Asked by Ardus
5 years ago.

How to filter on a value in column with onRowFilter?


Answer posted by Dan Letecky [DayPilot]
5 years ago.

Since build 8.0.1545 it's now possible to specify custom row data (tags) and use them in onRowFilter:

Specifying custom row data (tags):
dp.resources = [
   { name: "Room A", id: "A"},
   // ...
   { name: "Room J", id: "J" },
   { name: "Room K", id: "K", tags: {alwaysVisible: true} }

Using tags during filtering

dp.onRowFilter = function(args) {
  if ( === -1) {
    args.visible = false || (args.row.tags && args.row.tags.alwaysVisible);

See also:
Comment posted by Ardus
5 years ago.

I am using the javascript trial version. Where can I download build 8.0.1545?

Comment posted by Dan Letecky [DayPilot]
5 years ago.

You can download it in the sandbox:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.