Your search did not match any results.

Keyboard Navigation

Documentation

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

  • Enter
    Execute an action on a focused element.

  • Tab
    Navigate within TreeList elements.

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

  • Ctrl + or Ctrl +
    Expand/collapse the focused row.

Backend API
<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[] {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(); } } }