Saturday, April 07, 2012

2 steps to disable adding data in a LightSwitch screen

There are 2 actions to undertake if you want to disable adding data in a LightSwitch screen. Both can be done in the screen designer.

  1. Remove the Add button in the Grid command bar.
    Uncollapse the Data Grid Command bar
    image
  2. Remove the new row at the bottom of the grid.
    Click on the data grid to show the properties, in the properties window uncheck
    image