hi guys
i need to know one thing
In datagrid can we apply color from an xml or from an array to
alternatingItemColors ,
we are specifying color in array statically
but i need dynamically
please help
--
Karthik.k
Mobile - +91-9894991640
--~--~-~--~~~---~--~~
You r
//Use the following code snippet at itemEditEnd="setColWidth(event)"
of Datagrid
private function setColWith(event : DataGridEvent):void{
var num : Number = event.columnIndex;
var textLen : Number = event.target.itemEditorInstance.length;
sGrid.columns[num].width = textLen*10;
}
Cheers
Varun R
How would I limit the amount of items in my tilelist...I want to have
next 10 etc etc...
Are there any examples out there...thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post
Hi,
Check out the following link which demonstrate the paging in datagrid.
Going by same way you can achieve what you require in the tileList
also.
http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html
-Ravi
On Apr 21, 12:58 pm, jeroen wrote:
> How would I limit the a
Hi guys
I myself got the sloution
On Apr 21, 12:33 pm, Karthik K wrote:
> hi guys
>
> i need to know one thing
> In datagrid can we apply color from an xml or from an array to
> alternatingItemColors ,
> we are specifying color in array statically
> but i need dynamically
>
> please help
> --
>
hi guys
i my self found the solution
On Apr 21, 12:33 pm, Karthik K wrote:
> hi guys
>
> i need to know one thing
> In datagrid can we apply color from an xml or from an array to
> alternatingItemColors ,
> we are specifying color in array statically
> but i need dynamically
>
> please help
> -
Dear all,
I have a datagrid which has an Array Collection as the dataprovider.
I want an event when the data has been filled in the datagrid. Only
after the datagrid fields are filled this event should be fired.
Can someone please tell me such an event for the Datagrid
or atleast some other wa
Can you pls share the solution?
-Ravi
On Apr 21, 1:57 pm, karthik Flex wrote:
> hi guys
>
> i my self found the solution
>
> On Apr 21, 12:33 pm, Karthik K wrote:
>
> > hi guys
>
> > i need to know one thing
> > In datagrid can we apply color from an xml or from an array to
> > alternatingItem
Hi Sudhi,
Try ChangeWatcher class. call the Static watch() method where you are
assigning you arrayCollection to you datagrid's dataprovider. The last
parameter of watch method is an eventListner method for PropertyChange
event.
PS: Don't forget to call the unwatch() method of changewatcher in t
hi Ravi
i used an array outside for color
[*Bindable*]
*private* *var* alternateColor:Array=[*"#c8a49d"*,*"#be938b"*];
and in datagrid give value dynamically
alternatingItemColors="{alternateColor}"
this is just sample and what my req was to put color in xml and load
and from the above you ca
Hello
re-assign source to SWFLoader ... may help you...
i have work with flash swf and it works fine
private function onBtnClick(event:MouseEvent):void
{
SWFLoader.source = null;
SWFLoader.source = xyz.swf;
}
Thanks
Virat
On Apr 20, 1:27 pm, "ukrit...@googlemail.com"
wr
Dear Ravi,
This is the way i am providing the data to Datagrid.
and i am not sure where to use watch class.
Can you explain it bit elaboarately.
Thanks and regards
Sudhi
--~--~-~--~~~---~--~~
You received this mes
There are basically three ways to achieve the following:-
1. Using Refrence of the Screen eg:-
public static var screenRefrence : YourScreen;
//and then using
screenRefrence.variableName ;
2. You can use a singleTon Class and then use the variables in the
application decraled in Singleton class
i am creating datagrid through actionscript at run time and data is
also provided at run time
On Apr 21, 12:56 pm, vrathore wrote:
> //Use the following code snippet at itemEditEnd="setColWidth(event)"
> of Datagrid
> private function setColWith(event : DataGridEvent):void{
> var num : Number =
and also what is sGrid??
On Apr 21, 12:56 pm, vrathore wrote:
> //Use the following code snippet at itemEditEnd="setColWidth(event)"
> of Datagrid
> private function setColWith(event : DataGridEvent):void{
> var num : Number = event.columnIndex;
> var textLen : Number = event.target.itemEditor
hi,
i am working flex past 2 months.wat about jobs in flex?
my friends told that very limited jobs in flex.very rare to get job in
flex.
tell ur suggestions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex
Indi
hello everybody
i want to instance from dynamic class i used this code
var testing:Object;
var ClassRef:Class;
ClassRef= getDefinitionByName("NetworkProviderDomain") as Class;
testing=new ClassRef();
my problem is that when the c
hi,
i want dyanamically add rows in paginated datagrid.anyone provide
samples?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to flex_india@googlegroup
Hi Namitha,
I have gone through the functionalities of maximize, minimize & restore
by keeping 3 Buttons check it out whether it may help you or not.
http://www.adobe.com/2006/mxml"; layout="
vertical">
On Thu, Apr 2, 2009 at 8:10 PM, namita wrote:
>
> hai all
>
> c
hi,
I have declared a global variable in my application and is there any
way to access the value of that variable in component and update the
value of that variable in my flex components???
Its very urgent..
Somebody please give a solution
Thanks in advance
Mahi
--~--~-~--~~-
hi, I have declared a global variable in my application and is there
any way to access the value of that variable in component and update
the value of that variable in my flex components??? Its very
urgent..please give a solution
Thanks in advance Mahi
On Apr 21, 11:43 am, Flex Baby wrote:
> hi
Hi,
Has anyone tried getting data of countries,states,districts from an
xml file and displaying it in flex using combo boxes??
Regards,
Sindhu.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex
India Community" g
Thanks again Virat , I've tried this solution once if you're looking
on your system memory
it leaks everytimes when you reload swf , that's why I tried to avoid
this solution . but if you have any prevent methodology please help
me... Thanks Virat
On Apr 21, 4:13 pm, "v...@t" wrote:
> Hello
>
>
i didn't found how to do it
but i dicider to use dictonary to solve this problem
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to flex_india@googlegro
thanks for ur rply but i am not getting what is itemEditEnd ??? how to
use it
On Apr 21, 12:56 pm, vrathore wrote:
> //Use the following code snippet at itemEditEnd="setColWidth(event)"
> of Datagrid
> private function setColWith(event : DataGridEvent):void{
> var num : Number = event.columnInd
Thx for your reply what I've done's trying to do follow your code.
In case that my test.swf still shows it's termination error on
swfloader
What am I doing wrong here's my code.
http://www.adobe.com/2006/mxml";
layout="absolute">
On Apr 20, 7:43 pm, vrath
I want to set the focus with cursor on TextInput not Browser.Can you tell me
how to do that.
Can you send me the code for this.
Thanks & Regards,
Srinivas.
On Tue, Apr 21, 2009 at 9:20 AM, Flex Baby wrote:
>
> the above code not taking textinput id.
> the above my code is working in only IE & F
Hi palz,
I need help creating custom TreeItemRenderer where the inner nodes
will have a check box and text box.. please refer to below
Sample -
Tree
[-] Folder 1
- [ (CB) (TEXT INPUT) ]
- [ (CB) (TEXT INPUT) ]
[+] Sub Folder 1
[+] Folder 2
[+] Folder 3
I tried searching around
Hi Mahi,
Please try this.
Create a singleton class
package model
{
[Bindable]
public class CommonModel
{
public static var instance:CommonModel;
public function CommonModel(enforcer:singletonEnforcer)
{
Hi sindhu,
check out this code it may help you..
*1.xml*
1001
J
1
Male
1002
Ja
2
Male
1003
Jag
3
Male
1004
Jaga
6
FeMale
1004
hi all,
i am creating datagrid at runtime by providing data. problem is that
grid height is fixed but data may be of variable length so how can i
decide the no. of rows in a grid at run time ie. how can i find the
max row height in the grid
thanxs
--~--~-~--~~~---~--
Hi Akhil,
According to your mail, I mean that you don't want to display any
scrollbars, the grid height should be increased as the data increased..
for that you hav to use a small property *rowCount="{ac.length}" *
Here the ac is arraycollection
for ex:
On Tue, Apr 21, 2009 at 6:24 PM, Akhil
Hi All,
I have run through few examples of deep linking. But when I tried to
run those applications in the IE 7, But it gives this problem.
When application loads, the initial title of the application is
Shipping. But when i click anywhere in application, the title changes
to #. I don't know thi
Hi Gerald,
This can be achieved by labelfunction property of axis. As u know that, for
each value of dataprovider it call the labelfunction and according to our
requirement we can customize the label and return it in label function.
Regards
Saurabh
On Tue, Apr 21, 2009 at 10:11 AM, Gerald Anto w
Hey Thanks Jagan,
But i am trying to co-relate two combo boxes. Suppose I have an xml
file with details of week days,months,colours... So when i select a
particular item in the first combo box(say colour),it should display
the names of colours like(red,blue,green...) in the other combo box. I
hope
hi all
I am setting value of textinput to button' label at run time, here i
want that button should increase its width according to label.
but not increasing width of button when i'm typing more text.
private var btn1:Button = new Button();
private function init():void{
hb.addChild(btn1);
}
Hi Sindhu,
that means you are using 2 comboboxes once if i select 1st combobox
according to selected item, data in 2nd combobox should be displayed
dynamically right..
On Tue, Apr 21, 2009 at 9:44 PM, Sindhu wrote:
>
> Hey Thanks Jagan,
> But i am trying to co-relate two combo boxes. Suppose I
grid height is fixed bt no. of rows may vary according to data if data
in a row is large grid may contain less no. of rows else greater ie.
rowcount should depend on data displayed in grid at run time how it is
possible
On Apr 21, 7:48 pm, Jagadish M wrote:
> Hi Akhil,
>
> According to your ma
Dear All,
For of my application have one menu bar and 50 pages inside it. How do i
proceed the project in a better way.
Size must be very small.
Presently i go through with view stack method. any way to load the pages
while calling only
Please help me anyone.
Regards,
Dhileepen
--~--~---
Hi Saurabh,
yes.That can be achieved by label function i tried what you told But
for each value of dataprovider it call the labelfunction so every value
the function has
to return something ok so how my query is achieved.
if i have 30 days data, i need only one label. if 60 days data i
Hello
I have done some work as per your problem, may it helps you..
In this you ll get each row height of DataGrid so you can use it.
http://www.adobe.com/2006/mxml";
layout="vertical"
horizontalAlign="center" verticalAlign="middle"
creationComplete="onCreationComplete(event)">
41 matches
Mail list logo