make GridForm readonly

This example shows how to make the GridForm readonly. By default, GridForm is editable. It uses DataForm to edit a single row of data. But when you just want users to have a look, set it as readonly.

Pick a Theme:

Products 
ProductID AscendingProductNameCategory Name
QuantityPerUnitUnitPriceUnitsInStockDiscontinued 
1ChaiBeverages10 boxes x 20 bags$18.0040
2ChangBeverages24 - 12 oz bottles$19.0017
3Aniseed SyrupCondiments12 - 550 ml bottles$10.0013
4Chef Anton's Cajun SeasoningCondiments48 - 6 oz jars$22.0053
5Chef Anton's Gumbo MixCondiments36 boxes$21.350
6Grandma's Boysenberry SpreadCondiments12 - 8 oz jars$25.00120
7Uncle Bob's Organic Dried PearsProduce12 - 1 lb pkgs.$30.0015
8Northwoods Cranberry SauceCondiments12 - 12 oz jars$40.006
9Mishi Kobe NikuMeat/Poultry18 - 500 g pkgs.$97.0099
10IkuraSeafood12 - 200 ml jars$31.0031
1 - 10 / 104 RecordsPage / 11 

  Design   Source  
  1. Open DataForm.NET Manager. In DataForm.NET List page, choose Products by clicking the link.
  2. In the DataForm.NET Designer on the right hand side, switch to GridForm tab.
  3. Add a View Column to GridForm. Make sure Delete Column and Edit Column are not in the GridForm.
  • Click HERE to open up a READ ONLY DataForm.NET Manager.
  • Click HERE to try for yourself.