This is a migrated thread and some comments may be shown as answers.

Filter via header row in TreeList

12 Answers 129 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
dandv
Top achievements
Rank 2
dandv asked on 31 Dec 2014, 06:45 AM
Another feature parity item vs. kendoGrid: filtering via header row works in Grid, but not in TreeList.

12 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jan 2015, 08:25 AM
Hi Dan,

The TreeList widget was recently introduced and it doesn't have all the Grid features implemented from the very first release. Having said that you will see more Grid features supported in the TreeList in our upcoming Q1 2015 release.

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Chris
Top achievements
Rank 1
answered on 25 Apr 2015, 11:53 PM

I'm using the 2015.01 Kendo Javascript UI. In the documentation, (http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-columns.filterable.ui), it says that you can do the following, but I tried and it doesn't work.

 

filterable: {
ui: function(element) {
element.kendoDateTimePicker(); // initialize a Kendo UI DateTimePicker
}

OR

filterable: {
ui: "datetimepicker"
}

 

For the first example, I tried to put the following as the callback function just to see if it was ever called, and it wasn't.

function(element){ alert("efeaseaij"); }

0
Atanas Korchev
Telerik team
answered on 27 Apr 2015, 07:10 AM
Hello Chris,

Here is a live demo which works as expected with the 2015 version: http://dojo.telerik.com/@korchev/EbiNa

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ron
Top achievements
Rank 1
Veteran
answered on 20 Jun 2016, 09:17 AM

Will the filter row be available for the Treelist component in the near future?

Regards,
Ron

0
Nikolay Rusev
Telerik team
answered on 21 Jun 2016, 07:53 AM

Hello Ron,

Currently there aren't plans for implementing such feature. You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.

Regards,
Nikolay Rusev
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
0
Karan
Top achievements
Rank 1
answered on 03 Jul 2017, 03:03 AM
So this feature is still not available in 2017.2.621 ?
0
Angel Petrov
Telerik team
answered on 04 Jul 2017, 01:47 PM
Hi,

I am afraid it is still not available. I strongly suggest voting for it in the feedback portal(you can do this by voting here and here). The more votes the request receives the higher the chance of being implemented in the near future.

Regards,
Angel Petrov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Bryon
Top achievements
Rank 2
answered on 01 Nov 2018, 04:21 PM

Hard to believe adding a Filter Row to TreeList hasn't been looked at yet. It's been voted up, but not addressed in years? What's going on?

0
Angel Petrov
Telerik team
answered on 05 Nov 2018, 11:59 AM
Hi,

There were tasks with higher priority and more votes that the filter row item and that is why it is still not implemented. We prioritize our items for every quarter based on the user feedback and features we want to integrated. I hope that the filter row will be included in the upcoming releases.

Regards,
Angel Petrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Bryon
Top achievements
Rank 2
answered on 13 Nov 2018, 08:26 PM

I was checking out this demo...

jQuery TreeList filterable.operators.string

So, is there a way to apply this jQuery to the MVC TreeList for just the Filtering? I could make my issue work if the only options for the filter were "Contains" and the search textbox. I've tried this, but it doesn't work...

@(Html.Kendo().TreeList<tlkpFolder>()
        .Name("RoleFolderList")
        .Columns(columns =>
        {
            columns.Add().Field(e => e.Folder_Name).Title("Folder(s)").TemplateId("folderImage-template").Width(165);
            columns.Add().Field(e => e.Commit_Ind).Title("Environment").TemplateId("environmentName-template").Width(40);
            columns.Add().Field(e => e.Active).Title("Active").TemplateId("activeIndicator-template").Width(25);
            columns.Add().Field(e => e.Modified_ID).Title("Modified By").Width(40);
            columns.Add().Field(e => e.Modified_Dtm).Title("Modified Date").Format("{0:MM/dd/yyyy hh:mm tt}").Width(30);
        })
        .Sortable()
        .Selectable()
        .Filterable(true)
        .Pageable(p => p.PageSize(10)
            .PageSizes(true)
        )
        .DataSource(dataSource => dataSource
            .Read(r => r.Action("RoleFolder_TreeListBind", "Role", new { roleId = Model.Role_ixkey }))
            .ServerOperation(false)
            .Model(m =>
            {
                m.Id(f => f.Folder_ixkey);
                m.ParentId(f => f.ParentFolder_ixkey);
                m.Expanded(true);
                m.Field(f => f.Folder_Name);
                m.Field(f => f.ParentFolder_ixkey);
            })
        )
        .Events(e => e.Change("getRoleFolderInfo"))
)
<script>
    $("#RoleFolderList").kendoTreeList({
        filterable: {
            extra: false,
            operators: {
                string: {
                    contains: "Contains"
                }
            }
        }
    });
</script>
 
...AND TRIED...
 
<script>
    $('#RoleFolderList').data('kendoTreeList').kendoTreeList({
        filterable: {
            extra: false,
            operators: {
                string: {
                    contains: "Contains"
                }
            }
        }
    });
</script>

 

Any help would be great.

 

Bryon D. Gray

0
Bryon
Top achievements
Rank 2
answered on 13 Nov 2018, 08:42 PM

In my research, I found this...

https://github.com/telerik/kendo-ui-core/issues/2883

...is there anything that can be done?

0
Angel Petrov
Telerik team
answered on 14 Nov 2018, 02:59 PM
Hello,

I am sorry to say but the only way to currently handle this is to replace the MVC wrapper definition with a widget. In order to easily achieve this you can inspect the source of the page and check what settings does the wrapper serialize as shown here.

Regards,
Angel Petrov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TreeList
Asked by
dandv
Top achievements
Rank 2
Answers by
Atanas Korchev
Telerik team
Chris
Top achievements
Rank 1
Ron
Top achievements
Rank 1
Veteran
Nikolay Rusev
Telerik team
Karan
Top achievements
Rank 1
Angel Petrov
Telerik team
Bryon
Top achievements
Rank 2
Share this question
or