LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OpenSource Project for a .NET Datagrid for LabVIEW

Solved!
Go to solution
Hello Mike,
I downloaded your LabviewdoNetDataGrid, kindly pls you can support below questions.
1. After active column ticked Row 0, Row 1, Row2, if I want to get the Row 0, Row 1, Row 2 detials, how to do it.

捕获.PNG

 
2.Clicked "Edit", if I want to modify the information in red, how to do it?
捕获.PNG
Highly appreciated your support, I'm looking forward to your reply.
Regards,
David Wang
0 Kudos
Message 41 of 51
(1,309 Views)

I don't think I can help as I just don't remember this its been a few years since even looking at it.  I do all my UIs now for labview applications in Vue.js web interfaces (electron based or hosted webapp from cRIO).  Far superior in every way.  

Anyway, from what I do remember you have to access the row to get its columns and you can do that from the event telling you the clicked row.  as for the editing, you normally would edit the datatable itself and then the grid redraws the datatable change because they are binded together.

 

I do hope that helps, you'll have to dig into the various sets of properties for columns to get what you need.  Good luck!

0 Kudos
Message 42 of 51
(1,279 Views)

Mike, thanks for your feeback, now I have solutions for the 2 questions.

 

But I have a new question, after clicked the yellow area, the table sequence will be changed, I want to disable the function, I hope after clicked yellow area, the table sequence will not change, how to do it?

Highly appriciate your support, I'm looking forward to your reply.

捕获.PNG

0 Kudos
Message 43 of 51
(1,253 Views)

I believe that would be column sorting and there should be a series of properties setup in the init Vis that turn on some of those features, your could change those or find/set the property yourself to disable sorting.

0 Kudos
Message 44 of 51
(1,196 Views)

Hello Mike,Thanks for your feedback.

I took a long time to find the disable sorting VI, unfortunately, up till now, I didn't find it.

Could you tell me the VI name that has function to disable sorting? or which property can be setup to desable sorting funtion?

If I get the VI name or property name, I can find it easily.

Highly appricate your help.

0 Kudos
Message 45 of 51
(1,173 Views)

Hello Mike, now I know how to disable sorting function.

Thanks much for your help before.

0 Kudos
Message 46 of 51
(1,135 Views)

For those who have issues with flickering, another option other than hiding and showing the control is to set it to double buffer the display. This property is hidden, so to access it you need to do something like this (seen here, for example):

 

Set DoubleBuffered property.png

 

I have only done very limited testing on this and it still doesn't look that great, but to my eye it looks better than the flickering you get with hiding and showing.


___________________
Try to take over the world!
0 Kudos
Message 47 of 51
(1,053 Views)

Hi Mike, here's one more bug report, which may have already been reported and may have been fixed in recent versions:

 

In DataGridView.lvclass:Determine Image Path.vi you try to repeatedly strip the path to find the images folder if no path was supplied. This loop never stops when running an EXE from a network share. I assume there's an issue there with how LV treats the path. For my case, I simply modified it not to happen, since I don't have images, but you could probably handle it any number of ways, such as using a for loop or checking when the path stops changing.


___________________
Try to take over the world!
0 Kudos
Message 48 of 51
(910 Views)

Another possible improvement for the flickering might be to double buffer the data table (i.e. have two instances of the data table and when an update is made do it to the inactive data table and then bind when done, so that all the updates to the DGV are done together). I haven't checked if this will actually work.


___________________
Try to take over the world!
0 Kudos
Message 49 of 51
(908 Views)

Hello, when there is a lot of data, I found that the memory will increase when the clearing table is increased again, and the original memory is not released. Do you have any memory increase problems

0 Kudos
Message 50 of 51
(800 Views)