This is part of the code where I am using datagrid
<HBox width="100%" height="100%">
 <mx:DataGrid id="dg" dataProvider="{Test}" width="100%" height="50%"  >
     <mx:columns>
     <mx:DataGridColumn  width="100" headerText="Date"   dataField="ValueDate"
  fontSize="9"  />
  <mx:DataGridColumn  width="100" headerText="Time" dataField="ValueTime"
fontSize="9"  />
  <mx:DataGridColumn  width="80" headerText="Status" dataField="ValueStatus"

  fontSize="9">

Cannot figure why this is happening.

On Thu, Oct 9, 2008 at 9:41 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:

>
> Looks like you are having item renderer for these columns, If yes,
> then make sure that there is no background color for the item
> renderer.
> For resolving the problem, you can first try just to add columns
> dynamically and once you know that there is no problem, then assign
> the data/item renderers
>
> HTH,
> Sambhav
>
> On Oct 8, 9:33 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > It should not happen... I tried doing it and the alternating colors are
> > appearing for me when I am adding new columns.
> >
> > Can you paste your code that you are using to add new columns?
> >
> > And how are you specifying alternating colors? Through MXML or CSS?
> >
> > Regards,
> > Venkat
> >
> > On Wed, Oct 8, 2008 at 2:30 PM, flex kwt <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > > In my datagrid when I a new column, the datacoloumn alternate color
> doesn't
> > > show up for the new datacolumns.
> >
> > > What could be the reason for this?
> >
> > > Attached is the screenshot.
> >
> > > Thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to