• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection

Example for GridLines in ASP.NET MVC Data Grid Control

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


The GridLines property is used to control the line visibility that separates the rows and columns. The Grid allow 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 display of Gridlines by selecting values in the dropdown.