> Am 02.11.2018 um 21:27 schrieb Klaus major-k via use-livecode > <use-livecode@lists.runrev.com>: > > Hi all, > >> Am 02.11.2018 um 21:13 schrieb Klaus major-k via use-livecode >> <use-livecode@lists.runrev.com>: >> >> Hi all, >> >> given a datagrid (table) with three columns >> C1 -> visible >> C2 -> visible >> C3 -> invisible column >> >> Is it possible to sort a datagrid by column C3, although >> the user has clicked the header of column C2. >> Know what I mean? >> >> If this is possible, any hints on how to do this are highly appreciated. > > I tried this one, which works, but the header of column "C2" does not change > to reflect the sort direction, it looks like inactive. Know what I mean? Of course posting the script will help. 8-) ---------------------------------------------- on SortDataGridColumn pColumn if pColumn = "C2" then dispatch "SortByColumn" to me with "C3" else pass SortDataGridColumn end if end SortDataGridColumn -------------------------------------------- -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sorting datagrid column with a tricj?
Klaus major-k via use-livecode Fri, 02 Nov 2018 13:31:27 -0700
- Sorting datagrid column with a tricj? Klaus major-k via use-livecode
- Re: Sorting datagrid column with a tri... Klaus major-k via use-livecode
- Re: Sorting datagrid column with a... Klaus major-k via use-livecode
- Re: Sorting datagrid column with a tri... Bob Sneidar via use-livecode
- Re: Sorting datagrid column with a... Klaus major-k via use-livecode
- Re: Sorting datagrid column wi... Bob Sneidar via use-livecode
- Re: Sorting datagrid colum... Bob Sneidar via use-livecode
- Re: Sorting datagrid ... Trevor DeVore via use-livecode
- Re: Sorting datag... Bob Sneidar via use-livecode
- Re: Sorting d... Bob Sneidar via use-livecode
- Re: Sorting d... Trevor DeVore via use-livecode
- Re: Sorting d... Bob Sneidar via use-livecode
- Re: Sorting d... Bob Sneidar via use-livecode