New to Telerik UI for ASP.NET MVC? Download free 30-day trial

GanttColumnFilterableSettingsBuilder

Methods

Ui(System.Func)

The role data attribute of the component that is used in the filter menu, or a JavaScript function which initializes that component.

Parameters

handler - System.Func<Object,Object>

The value that configures the name of the handler.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                    .Columns(columns =>
                    {
                       columns.Bound(c => c.Title).Filterable(f => f.Ui(
                                  @<text>
                                  function(e) {
                                      // javascript logic
                                  }
                                  </text>
                       ));
                    })
            )

Ui(System.String)

The role data attribute of the component that is used in the filter menu, or a JavaScript function which initializes that component.

Parameters

handler - System.String

The value that configures the name of the handler.

Example


            @(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
                .Name("gantt")
                    .Columns(columns =>
                    {
                       columns.Bound(c => c.Title).Filterable(f => f.Ui("handler"));
                    })
            )

In this article
Not finding the help you need?