I feel like an idiot. But I see that you also mix up "dgColumnIsVisible" and "dgColumnIsInvisible" in your reply :-) I'm pretty sure I'm going to be responsible for others getting them mixed up too....
As an attempt to back away from my idiocy... The list of column properties on the screensteps site shows the first property taking a "coumn_name", but the subsequent properties take "column". I read that as being a column number. >> set the dgColumnSortType [ COLUMN_NAME ] of group "Data Grid" to "numeric" dgColumnAlignment [COLUMN] - Get/set the alignment for a column. Valid values are 'left', 'right' or 'center'. dgColumnIsVisible [COLUMN] - Get/set the visibility of the column. dgColumnIsResizable [COLUMN] - Get/set whether or not a column is resizable. << In fact, a column name makes for a much better API -- no need to use lineOffset to find the position of the named column, as I was doing. Incidentally, is there anyway of using the debugger on libraries beginning with "rev..."? Hopefully I can find out my own mistakes that way rather than come parading my carelessness here. Regards, Bernard On Wed, Jul 8, 2009 at 8:40 PM, Trevor DeVore<[email protected]> wrote: > On Jul 8, 2009, at 11:54 AM, Bernard Devlin wrote: > >> I tried to add this as a comment on the screensteps site, but after >> telling me I got the captcha wrong, the captcha mechanism froze up and >> I couldn't do anything. >> >> I'm trying to make a column invisible by the following command (after >> creating the cols & data by script): >> >> set the dgColumnIsInvisible[6] of pViewLongID to false > > Two things: > > 1) There is no dgColumnIsInvisible property. It is dgColumnIsVisible. > > 2) Do you have a column named "6" or are you trying to hide column number > six? you need to pass in a column name to dgColumnIsInvisible. > > Debugging - I imagine this is related to the fact that the data grid stack > has a rev prefix "revdatagridlibrary". _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
