RE: datagrid scrolling question

2018-08-05 Thread Douglas Ruisaard via use-livecode
s Ruisaard Subject: RE: datagrid scrolling question You can get/put data from/into the grid one row at a time without needing to figure out the group name, so you could have it update in real time in your external button. You should be able to use the same behavior script (possibly with a slight mo

Re: datagrid scrolling question

2018-08-05 Thread Douglas Ruisaard via use-livecode
Many thanks to one and all for the interesting responses ... particularly to Zryip for the extensive reply! I may be coming at LC from a somewhat unusual direction. The vast majority of my programming background was in very large, distributed servers running dedicated medical applications and

Re: datagrid scrolling question

2018-08-05 Thread zryip theSlug via use-livecode
odules, obviously, increase the > wait time... and I like the real-time display. > > > > However, this is as much a learning exercise as anything else... so I > still would greatly appreciate if you or anyone could suggest an > alternative methodology for issuing any sort of messa

RE: datagrid scrolling question

2018-08-05 Thread Brian Milby via use-livecode
e... so I still > would greatly appreciate if you or anyone could suggest an alternative > methodology for issuing any sort of message to a datagrid, if there is one. > Perhaps my method *is* the only one. THAT would be valuable information to > have, as well. > > Douglas Ruis

RE: datagrid scrolling question

2018-08-05 Thread Douglas Ruisaard via use-livecode
oftware (250) 573-3935 From: Brian Milby [mailto:br...@milby7.com] Subject: Re: datagrid scrolling question > My question is why use the button? Loop through the data in the grid and make > the tsnet call manually for each line. > If the button is calling a script outside of the DG, then

Re: datagrid scrolling question

2018-08-05 Thread zryip theSlug via use-livecode
Same remark than Mike, James and Jacque. When you have to change the value of each row, populating the datagrid with a new data, seems to be the better way to go. Now for helping you with datagrids, I think you have to understand 2 importants concepts about datagrids: - rows groups are created on

Re: datagrid scrolling question

2018-08-04 Thread J. Landman Gay via use-livecode
I was thinking the same thing. I think the critical distinction is that datagrids are primarily display mechanisms, not really intended to be read directly. It's much easier to parse the original input data than to try to traverse the grid itself, which uses some tricks to appear as a

Re: datagrid scrolling question

2018-08-04 Thread James At The Hale via use-livecode
I am a little lost here as to why this is a DG question as such. Certainly being able to dynamically fill data within a row is a great UI feature when the user is directly interacting with a row. But it seems you wish to completely fill particular values in all the rows from outside the DG. In

Re: datagrid scrolling question

2018-08-04 Thread Brian Milby via use-livecode
My question is why use the button? Loop through the data in the grid and make the tsnet call manually for each line. If the button is calling a script outside of the DG, then you can use the same call. Then you don’t have to do any of those things to figure out the name of the row group. On Aug

datagrid scrolling question

2018-08-04 Thread Douglas Ruisaard via use-livecode
I sent a badly constructed message with this content (more or less) a few days ago. I am re-posting it in the hope that anyone who tried to decipher those two messages will give this another consideration. So pardon the repeat, but I'm quite sure someone from this group can lend me a hand on