Hi Manish, I am including some code - this will cause all the horizontal grid lines to appear - I only want grid lines for rows with data. We use variable row height - so it looks terribly ugly having all the rows widely spaced on top, and then the empty ones are all squashed in.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Array id="arr"> <mx:Object> <id>id1</id> <label>mylabel1</label> </mx:Object> <mx:Object> <id>id2</id> <label>mylabel2</label> </mx:Object> <mx:Object> <id>id3</id> <label>mylabel3</label> </mx:Object> </mx:Array> <mx:DataGrid id="test" dataProvider="{arr}" borderStyle="solid" hGridLines="true" rowCount="3" useRollOver="false" sortableColumns="false" selectable="false" alternatingRowColors="[#FFFFFF, #FFFFFF]" verticalGap="0" verticalAlign="top" variableRowHeight="true" width="100%" height="100%" > <mx:columns> <mx:Array> <mx:DataGridColumn headerText="my label" columnName="label"/> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Application> Jonathan On Thu, 24 Feb 2005 03:04:12 +0530, Manish Jethani <[EMAIL PROTECTED]> wrote: > jonbez wrote: > > > We also tell the datagrid that there are x number of line items to > > display, so it has no excuse for not knowing. However, it displays > > the line items, and then fills the rest of datagrid with a zillion > > line seperators as if there are many phantom lines. > > Can you post some code? I couldn't reproduce this problem. > > Manish > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > > > ________________________________ > Yahoo! Groups Links > > > To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

