header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Rashmi
Points:0
Posts:0
Answered

5/24/2010 9:46:54 PM

Title: how to show horizontalgridlines after every 4 rows in datagrid


Hi,

As i am using UIComponent as cellrenderer for the datagrid there iam overriding function updatedisplaylist(w,h) and applying colors for background.
Now i need to give line after every 4 rows that iam not getting how to do.

Also i tried with graphics.linestyle() function on some condition this will show lines but for rowindex 1 it show both upside and downside lines but i want only at bottom of that row.

Any one knows how to do this is helpfull...

Thanks,
Rashmi



1
Rashmi
Points: 0
Posts:0
Accepted Answer
5/24/2010 10:48:05 PM



Hi,

I got the solution for this issue
solved like : if(listdata.rowIndex == something)graphics.linstyle(3 params);

earlier it was:if(listdata.rowIndex == something)
{graphics.linstyle(3 params);}



2
MaxFlash
Points: 580
Posts:0
5/24/2010 11:05:49 PM



cool!

3
amar
Points: 0
Posts:0
5/25/2010 3:10:27 AM



Rashmi!

What is the difference between your earlier and current solution ..Its the same code .

4
rashmi
Points: 0
Posts:0
5/27/2010 11:19:49 PM



hey actually what happened is when i set horizontalgridlines=true then it was coming correct not b'coz of that condition but still that problem was not solved


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+6 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions