Has anyone succeessfully used .NET datagrid in LabVIEW UI.
.NET datagrid is basically a table data which can have both inputs (controls) and outputs(indicators). The ability to have controls like buttons, checkboxes etc... inside the table is awesome feature of .NET datagrid.
Do you have an example UI image you can post to demonstrate what you want?
I have simulated this kind of behavior in purely LabVIEW with a table and a cluster.
Display the normal table, then as soon as the user clicks a cell a cluster appears over the row where the user clicked with all the checkboxes and dropdown lists aligned with the columns and steals focus.
It isn't perfect but it mostly provides the required functionality.
I am out of the office until 09/24/2015.
Contact me for phone or email access.
Note: This is an automated response to your message "[UI Interest Group]
- .NET Datagrid (table control) in LabVIEW UI" sent on 9/17/2015 9:34:19 PM
This is the only notification you will receive while this person is away.
Yes, we can do in that fashion of invisibling and visibling the cluster right on the row where user clicks. But all such functionality is inbuilt in .NET datagrid. I have attached couple of images from google search.
This looks like a project which would be of interest:
Looks like they already have an example working:
Message was edited by: Pete.Dunc - fixed image.
Those are good starting point to try. 🙂 I have tried it before starting this discussion. I felt there is a lag in loading time when I use datagrid. I can visually see that datacontainer is empty when I opened the executable and then it loads the data rows one by one. Hence, I wanted to understand if anyone has successfully used datagrid in your application. My application needs datagrid in many places (minimum 25 places as of now). Will there be any other hiccups while use it in large scale?
This is definitly worth working on.
I tried to get into the methods and properties of the .Net datgrid some time ago, but simply gave up.
It is what I am looking for since years. Now that I have another starting point I hope I'll get results.
And @NI-IT: Is it possible please to filter out auto responders. It is annoying.
I've seen the brief lag as well on initialization of datagrids, I've not tried anything to get around that yet but will certainly want to think about deferred FP updates, cached rows and constructors so that the building up of data for display is much faster. I want to get the basics with events working first so at least it more usable in small scale before looking at large scale apps with so many instances. I'd like to actually build up a datasource for it eventually and then just connect the .net datasource and grids together, as I suspect that will be the fastest way to build up the rows, since that is the case in C# for them already. Longer term though, thanks for the feedback, hope to hear more.
Thanks Gabi, I hope it will be useful to many people. I've wanted it for a long time as well, and am fairly familiar with C# grids so that has certainly helped recently on diving into the methods needed.