• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
Essential JS 2
All Controls

Example for 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.