logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dadbox  
#1 Posted : Saturday, March 28, 2020 4:20:34 AM(UTC)
dadbox

Rank: Newbie

Groups: Registered
Joined: 3/28/2020(UTC)
Posts: 2
United States
Location: Fort Collins, Colorado

Was thanked: 2 time(s) in 1 post(s)
I found out the hard way when using a Google Sheets data source that clicking the column headers in the data source manager sorts the data by that column. My data has an innate order that is not lexicographic, and I momentarily panicked, thinking that vMix had sorted my Google sheet too. Fortunately, it had not.

I only had to modify the data a bit in Google Sheets, and the data in the data source manager snapped back to the correct, innate order.

For my data, I would like to disable sorting entirely, as it doesn't make sense for my data, and I don't want to risk the data getting scrambled when live. Perhaps a checkbox somewhere that enables or disables sorting in the data source manager.

Failing that, a button in the data source manager that restored the innate order from the source would be good.
thanks 2 users thanked dadbox for this useful post.
davidcallahan on 10/11/2021(UTC), mgrayeb on 11/14/2023(UTC)
davidcallahan  
#2 Posted : Monday, October 11, 2021 6:28:45 PM(UTC)
davidcallahan

Rank: Advanced Member

Groups: Registered
Joined: 1/22/2020(UTC)
Posts: 47
France
Location: Montpellier

Thanks: 14 times
Was thanked: 2 time(s) in 2 post(s)
+1 !
I am having an issue about that as well : When sorting and selecting a row, it displays the older sort, not the new one. Have you had that problem ?
doggy  
#3 Posted : Monday, October 11, 2021 6:59:45 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,217
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: davidcallahan Go to Quoted Post
+1 !
I am having an issue about that as well : When sorting and selecting a row, it displays the older sort, not the new one. Have you had that problem ?


Sorting should be done in the Source file , not the data source manager.
Sorting the Visible table does not sort the actual underlaying table that is connected to the source
Any update to the Source will revert the visible table back to its original sorted view state.

In fact the sorting capability in the datasource manager(Datagridview) should be disabled within the software IMO
davidcallahan  
#4 Posted : Monday, October 11, 2021 8:02:19 PM(UTC)
davidcallahan

Rank: Advanced Member

Groups: Registered
Joined: 1/22/2020(UTC)
Posts: 47
France
Location: Montpellier

Thanks: 14 times
Was thanked: 2 time(s) in 2 post(s)
I totally agree with you, it should be disabled, OR it should be processed in a buffer and then sorted afterwards if needed.
Today the only way I found to solve the problem is to create an error message by changing the API key and solving the error with the right key.
doggy  
#5 Posted : Tuesday, October 12, 2021 1:52:38 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,217
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: davidcallahan Go to Quoted Post
OR it should be processed in a buffer and then sorted afterwards if needed.
Today the only way I found to solve the problem is to create an error message by changing the API key and solving the error with the right key.



the Source(fie) is linked to a data table within vMix . Gets updated each time the source is changed.
What you are sorting is a view of that data table. the sorting only sorts that grid not the table . It could be made to link but than the next file update will order the table AND grid to it so at that moment you loose your position in the grid and create more confusion.

Solution is to sort the Source file and not the managers grid
or create your own data source reader with sorting capability ( and one will understand the dilemma's associated with it ,like update , row removed/added etc , not even considering using various source types ; -) )
admin  
#6 Posted : Tuesday, October 12, 2021 2:28:47 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,208
Man
Location: Gold Coast, Australia

Was thanked: 4288 time(s) in 1520 post(s)
Hi,

To clarify, sorting is not supported in vMix Data Sources.
It is designed to directly show the data as it exists at the source only.
(It is intended that data always be manipulated only at the source and not in vMix).

Therefore the sorting is a built in feature of the UI element we use and was not something we intended, so perhaps it will be disabled in a future release.

Regards,

Martin
vMix
thanks 3 users thanked admin for this useful post.
doggy on 10/12/2021(UTC), eduardocfs on 10/12/2021(UTC), mgrayeb on 11/14/2023(UTC)
mgrayeb  
#7 Posted : Tuesday, November 14, 2023 5:16:51 AM(UTC)
mgrayeb

Rank: Advanced Member

Groups: Registered
Joined: 3/3/2018(UTC)
Posts: 184

Thanks: 86 times
Was thanked: 7 time(s) in 7 post(s)
I came upon the same issue accidentally today when I inadvertantly clicked on the header in the data source manager.

It would be great if this could be disabled to prevent confusion.
thanks 1 user thanked mgrayeb for this useful post.
doggy on 11/14/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.