In the last article I discussed how to use and create search data screens in LightSwitch applications. In this article I'm going to explain how to use and create EditableGrid Screens in LightSwitch applications.
An EditableGrid screen is like a new data screen but there are some differences in an EditableGrid Screen. Using an EditableGrid Screen you can add, edit, delete and data export to Excel format.
EditableGrid Screen
An Editable Grid Screen is used to edit and add data to a table. Using this screen you can edit data at run time and you can also add new data into the table. Using an EditableGrid Screen you can also delete and export data to Excel format.
How to use the EditableGrid Screen
Step 1 : Open Visual Studio LightSwitch->Click on create new table.

Step 2 : Create table like as person.

Step 3 : Now we will add a screen. Right-click on screens->Add screen.

Step 4 : Select EditableGrid screen->Select screen data (People)->Ok.

Step 5 : Run application (Press F5). If you want to add a record in the screen then you will click on the + sign. Which is shown in the image below.

Step 6 : Now you will see a small window with an add new person name. Fill data->Ok->Save.

Step 7 : If you want to add data in the screen without click on + sign then you can do that. For this purpose you will click on any column to add or edit data in the screen like as in the following image.

Step 8 : If you want to edit record in the screen, you can do that. For this purpose you will click on the edit icon, which is shown in the image below.











Join the conversation! Your thoughts help the community grow.