Hi,

I posted a bug with Adobe http://bugs.adobe.com/jira/browse/SDK-17675

But I didn't give it a full try because when I installed SDK 3.1.0, I had
some other issues with my compile options, so I reverted back to SDK 3.0

Regards

On Tue, Nov 4, 2008 at 9:14 AM, vit <[EMAIL PROTECTED]> wrote:

>
> Hi,
> Could you find the cause of this problem?
> I have the same issue with datagrid. First and Last columns have
> alternate colors,
> but columns in the middle dont't.
> But what is even more strange is that I don't have this problem on all
> PCs!
> I don't have problem on my development PC, but exactly the same binary
> has this issue on the other client PC.
> I use Flex 3.
>
> Thanks.
>
> On Oct 20, 10:34 am, "flex kwt" <[EMAIL PROTECTED]> wrote:
> > I created another project and used the same code, this time the alternate
> > colors are not appearing in the datagrid except for the first and the
> last
> > columns.
> > I haven't changed any style of any classes. For reference, I have
> attached
> > the project code.
> > Cannot figure out as what is the problem!
> >
> > Thanks and regards
> >
> > On Sun, Oct 19, 2008 at 7:46 PM, Venkat Viswanathan
> > <[EMAIL PROTECTED]>wrote:
> >
> > > Hi,
> >
> > > There might be something peculiar in your project that you would be
> doing
> > > with the DataGrid or any other list-based component that is creating
> the
> > > problem. Are you changing the style of any of the parent class of the
> > > DataGrid?
> >
> > > To solve this, you will have to do trial and error check by
> removing/adding
> > > stuff in your project. Its not very easy to locate such an issue. And
> most
> > > of the time, the problem would be something very silly and that's why
> > > probably we overlook it!
> >
> > > Regards,
> > > Venkat
> > >www.venkatv.com
> >
> > > On Sun, Oct 19, 2008 at 3:00 PM, flex kwt <[EMAIL PROTECTED]> wrote:
> >
> > >> Yes, you are right, I created a new project and used the same code, it
> > >> worked fine.
> > >> So how could I resolve the issue with my existing project?
> >
> > >> Thanks
> >
> > >> On Sat, Oct 18, 2008 at 7:10 PM, Venkat Viswanathan <
> > >> [EMAIL PROTECTED]> wrote:
> >
> > >>> Just try putting the code (that you pasted in this thread) in a new
> Flex
> > >>> project and see what you get. In my case, the mxml had only the
> snippet that
> > >>> u had provided. And probably thats the reason why it worked for me.
> Maybe
> > >>> you have some other code in your project that is creating the
> problem.
> >
> > >>> Regards,
> > >>> Venkat
> > >>>www.venkatv.com
> >
> > >>> On Sat, Oct 18, 2008 at 8:57 AM, flex kwt <[EMAIL PROTECTED]> wrote:
> >
> > >>>> Very strange.
> > >>>> I am using Flex 3.
> >
> > >>>> What could be the reason for this?
> >
> > >>>> On Sat, Oct 18, 2008 at 1:09 AM, Venkat Viswanathan <
> > >>>> [EMAIL PROTECTED]> wrote:
> >
> > >>>>> Hi,
> >
> > >>>>> Surprising.. It is okay for me... See the attached screenshot.
> >
> > >>>>> BTW, are you using Flex 2 or 3?
> >
> > >>>>> Regards,
> > >>>>> Venkat
> > >>>>>www.venkatv.com
> >
> > >>>>> On Thu, Oct 16, 2008 at 10:37 AM, flex kwt <[EMAIL PROTECTED]>
> wrote:
> >
> > >>>>>> Hi, Sorry for the delay in the showing the code, Pasted below is
> one
> > >>>>>> sample code I used for testing. Except for the first and the last
> column, I
> > >>>>>> cannot see alternate colors.Attached is the screen shot for the
> same.
> >
> > >>>>>> Thanks
> >
> > >>>>>> ****************Code********************************** <?xml
> > >>>>>> version="1.0"?> <mx:Application xmlns:mx="
> > >>>>>>http://www.adobe.com/2006/mxml"; width="800"> <mx:Script> <![CDATA[
> > >>>>>> import mx.controls.Alert; import mx.events.ListEvent; import
> > >>>>>> mx.collections.ArrayCollection; [Bindable] private var
> > >>>>>> employees:ArrayCollection = new
> ArrayCollection([{"name":"Christina
> > >>>>>> Coenraets","phone":"555-219-2270","email":"
> [EMAIL PROTECTED]","active":"true"},{"name":"Joanne
> > >>>>>> Wall","phone":"555-219-2012","email":"[EMAIL PROTECTED]
> ","active":"true"},{"name":"Maurice
> > >>>>>> Smith","phone":"555-219-2012","email":"[EMAIL PROTECTED]
> ","active":"false"},{"name":"Mary
> > >>>>>> Jones","phone":"555-219-2000","email":"[EMAIL PROTECTED]
> ","active":"true"}]);
> > >>>>>> ]]> </mx:Script> <mx:DataGrid id="dg" width="500" height="200"
> rowCount="5"
> > >>>>>> dataProvider="{employees}" > <mx:columns> <mx:DataGridColumn
> > >>>>>> dataField="name" headerText="Name"/> <mx:DataGridColumn
> dataField="phone"
> > >>>>>> headerText="Phone"/> <mx:DataGridColumn dataField="email"
> > >>>>>> headerText="Email"/> <mx:DataGridColumn headerText="">
> <mx:itemRenderer>
> > >>>>>> <mx:Component> <mx:Button label="Select" /> </mx:Component>
> > >>>>>> </mx:itemRenderer> </mx:DataGridColumn> </mx:columns>
> </mx:DataGrid>
> > >>>>>> </mx:Application>
> > >>>>>>
> **********************************Code********************************
> >
> > >>>>>> On Sat, Oct 11, 2008 at 12:52 AM, Venkat Viswanathan <
> > >>>>>> [EMAIL PROTECTED]> wrote:
> >
> > >>>>>>> No... i wanted to see the actionscript code that you are using to
> add
> > >>>>>>> new columns...
> >
> > >>>>>>> Regards,
> > >>>>>>> Venkat
> > >>>>>>>www.venkatv.com
> >
> > >>>>>>> On Thu, Oct 9, 2008 at 7:36 PM, flex kwt <[EMAIL PROTECTED]>
> wrote:
> >
> > >>>>>>>> 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
> >
> >
> >
> >  DataGrid2.zip
> > 574KViewDownload
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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