Your search did not match any results.
Tree List

Keyboard Navigation

Documentation

In this demo, you can use the following keys and key combinations to interact with the widget:

  • Tab Navigate between TreeList elements.

  • Ctrl + or Ctrl + Navigate between header, filter panel, filter row, data area, and pager.

  • Enter or Space Execute an action on a focused element.

<div id="tree-list-demo"> <p>Click this text and press <b>Tab</b></p> @(Html.DevExtreme().TreeList<DevExtreme.NETCore.Demos.Models.TreeList.Employee>() .ID("treeListContainer") .DataSource(ds => ds.Mvc() .Controller("TreeListEmployees") .LoadAction("Get") .UpdateAction("Put") .DeleteAction("Delete") .Key("ID") ) .KeyExpr("ID") .ParentIdExpr("HeadID") .ShowBorders(true) .ExpandedRowKeys(new JS("[1, 2, 3, 5]")) .Editing(editing => { editing.AllowUpdating(true); editing.AllowDeleting(true); editing.SelectTextOnEditStart(true); editing.UseIcons(true); }) .HeaderFilter(headerFilter => headerFilter.Visible(true)) .FilterPanel(filterPanel => filterPanel.Visible(true)) .FilterRow(filterRow => filterRow.Visible(true)) .Paging(paging => { paging.Enabled(true); paging.PageSize(10); }) .Scrolling(s => s.Mode(TreeListScrollingMode.Standard)) .Pager(pager => { pager.Visible(true); pager.AllowedPageSizes(new int[] {5, 10}); pager.ShowPageSizeSelector(true); pager.ShowNavigationButtons(true); }) .FocusedRowEnabled(true) .Columns(columns => { columns.AddFor(m => m.FullName); columns.AddFor(m => m.Title); columns.AddFor(m => m.City); columns.AddFor(m => m.State); }) ) </div>
using Microsoft.AspNetCore.Mvc; using DevExtreme.NETCore.Demos.Models.SampleData; namespace DevExtreme.NETCore.Demos.Controllers { public class TreeListController : Controller { public ActionResult KeyboardNavigation() { return View(); } } }