use Checkbox Column in eGridForm

This example shows how to use Checkbox Column. If the data type in database is bit, boolean or some value that can be convert to boolean, you may want it to display as checkbox instead of the original value.

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. The column type of Discontinued is set to Checkbox Column. It can be set in the GridForm Field Designer as well.
  4. When displayed in the GridForm at runtime, the checkboxes will be checked on when the value of field represents true; Otherwise, off.
  • Click HERE to open up a READ ONLY DataForm.NET Manager.
  • Click HERE to try for yourself.