Example of Gridlines in ASP.NET Core Tree Grid Control

This sample demonstrates visibility of the treegrid lines that separates the rows and columns. In this sample, you can change the gridline from the properties panel.

Grid Lines

The gridLines property is used to control the line visibility that separates the rows and columns. TreeGrid allows us to display the following grid lines,

  • Default - Shows the Horizontal line.
  • None - Shows no line.
  • Both - Shows both Horizontal and Vertical lines.
  • Horizontal - Shows the Horizontal line.
  • Vertical - Shows the Vertical line.

In this demo, you can modify the visibility of gridlines by selecting values in the dropdown.

More information on the gridLines configuration can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing