Library WinForms NextSuite .NET Controls NextGrid .NET Articles and tutorials Quick Start Design time

Design time

To start, click on the NextGrid icon in Toolbox.

NextGrid icon in Toolbox

Then, click on form to place control on it.

Now, when grid is placed on form views may be added and configured.

Step 1 — Add a grid view

View is simply a way how grid display data, and react on user actions. As you probably know from using Windows Explorer folder may display files in several views (Details, Icon, List etc.).

Right-click on control and pick "Edit Views..." option and Views Editor window will popup.

Edit Views

Click on the first button to add a Report grid view. Report view is equivalent to the Details view found in Windows Explorer.

Report view

For now we need only one view, and later we will learn more about them.

After you have added your first view, you may further customise it for your application needs. For example, you may enlarge size of Header (HeaderHeight property), show Footer (ShowFooter), turn on grid-lines and so on.

All property-names are self-explanatory so you will have no problems understand and remember them.

Close the View Editor.

Step 2 — Add columns

Right-click on NextGrid and pick Edit Columns from pop-up menu.

Continue to run-time part of this tutorial.

Sign in