Data grid columns headers

Éric Miclo eric.miclo at wanadoo.fr
Sun Feb 21 05:56:52 CST 2010


Hello,

Already reported as bug #8030 on 2009-05-03.
Seems it's still there...

Best regards,

ÉrIC Miclo

Le 21 févr. 2010 à 12:11, Sarah Reichelt a écrit :

> 
> Hi All,
> 
> I have to say that I haven't really taken to the data grid. I
> recognise that it is an awesome piece of work from Trevor, but to me,
> it's too difficult to use to be a true Xtalk thing. So I looked at the
> tutorials in the beginning, but didn't actually implement it, except
> in a very simple way that was mainly to take advantage of the column
> sorting.
> 
> Now I have an app that needs more sophisticated use of the data grid:
> custom sorting, displaying icons in one columns, differing column
> alignments etc.
> I have been working my way through what I need, referring to Trevor's
> excellent lessons whenever I got lost. So I was able to implement a
> custom sort and I have a variable image displayed in one column
> (although I am having transparency issues).
> 
> My real problem came when I had a column with an image. The column
> header was "Type" but the column data (one of a set of images) was
> only 20 pixels across, so I wanted to reduce the header width to allow
> the column to reduce to the minimum of 20 pixels. I naively thought
> that setting the column header to empty would work, but this was a BIG
> MISTAKE! DON'T TRY THIS AT HOME!!!!
> This results in an un-editable column and every click throws a data grid error.
> 
> Now I have to go back to an archive copy - thankfully I use tRev which
> archives regularly, but I know I have quite a bit of scripting that
> will not be in the archives, so I will have to re-create that.
> 
> So, Trevor: it would be better not to allow an empty column header if
> this is going to cause irretrievable errors.
> And to everyone else: don't set data gird column headers to empty.
> 
> Cheers,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

-- My NeXT computer will Be a Mac too! --




More information about the use-livecode mailing list