Design-timeTo start, click on 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 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.
Click on a first button to add one Report grid view. Report view is equivalent to the Details view in Windows Explorer.
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.