[HELP] Facing a datagrid bug

Andre Garzia andre at andregarzia.com
Tue Aug 16 12:09:11 EDT 2011


On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia <andre at andregarzia.com>wrote:

> the error is not on sorting, it is on:
>
> _table.DrawColumns
>
> some error in an object reference... odd... only when ascending, the
> descending sort works.
>


I think I found it. When sorting ascending, the pIndexesToDraw variable
which contains a comma separated list of indexes, has an extra comma like:

 ,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18

So it fails. I think I might have uncovered a bug somewhere



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list