#LabVIEW dot Net DataGrid Overview A very useful and easy to use data grid to replace LabVIEW's tables and multicolumn listboxes. This datagrid supports more of the standard expected table/grid functions for sorting, filters and auto fitting content, and best of all, it supports some extended datatypes embedded within the grid.
Basically, this grid allows better table support, with more built in features that you can use standard LabVIEW data with and basic properties to your own string data into a more friendly grid and content display.
#Features
- Auto drawing and formatting of content
- Auto Column width sizing (auto, cell, fill, none, etc)
- Inline objects for combobox, buttons, checks and images
- Clickable Columns to sort (Asc/Dsc)
- Dragable columns to reorder them
- Minimum column widths
- Basic Events integration with LabVIEW Event structure for integration into your app
OpenG is used for several variant data inspectors
#Usage See the example code. Four simple steps to use it:
####1.Place a .NET DataGrid control on the front panel
####2.Initialize the DataGrid Class using the .net control reference
####3.Define the column parameters
#Data Types Currently, there are several datatypes supported:
- Strings
- Booleans
- Numbers
- Timestamps
- Images
- Buttons
- Combobox (selection lists)
#Events
- Cell Edit Ended - This single event is used currently as a sample for callback events.
- Cell Value Changed - Works but errors currently on custom datatypes. Need to handle errors and extend this event