this is a simple example, it might be useful. Basically, all i'm doing is
increasing the panel height everytime i add a row into the datagrid.
?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
GridColumn doesn't have the textAlign style. Instead we can do this -
s:GridColumn id=col dataField=etc
s:itemRenderer
fx:Component
s:DefaultGridItemRenderer textAlign=right color=black/
..
How can I do
GridColumn doesn't have the textAlign style. Instead we can do this -
s:GridColumn id=col dataField=etc
s:itemRenderer
fx:Component
s:DefaultGridItemRenderer textAlign=right color=black/
..
How can I do this in actionscript? I've tried the following but doesn't work
var
Does anyone know if the drag drop functionality will feature in the next
release of spark datagrid?
thanks for the clarification.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@... wrote:
Even columns with visible=false get instantiated when declared in MXML.
On 10/10/11 3:36 AM, bhaq1972 mbhaque@... wrote:
Yes agreed. In our newer applications we do that.
Just
and columns on the
fly in ActionScript. Why bother having columns in memory that you don't use?
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
The problem doesn't exist if the code is executed in the preintialize or
creationComplete event. However, I didn't want to mention
and follow up with a validateNow()
call.
On 10/6/11 1:11 AM, bhaq1972 mbhaque@... wrote:
The problem doesn't exist if the code is executed in the preintialize or
creationComplete event. However, I didn't want to mention that because it
takes the focus away from what looks like
).
--- In flexcoders@yahoogroups.com, valdhor valdhorlists@... wrote:
The column probably hasn't been created yet. Try the creationcomplete event
of the datagrid.
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
I get a runtime error when I set the gridcolumn.visible property during
I get a runtime error when I set the gridcolumn.visible property during a
datagrid initialize event. There is no problem's
if its the first gridcolumn. Looks like a bug?
Can anyone suggest a workaround?
s:DataGrid initialize=makeColumnInvisible()
s:columns
s:ArrayList
I'm doing the same thing as you, I don't even cast my object and it still works.
I did do a simple test using [RemoteClass] but I can't remember it sorry.
I just saw it as different approaches in achieving the same end result.
--- In flexcoders@yahoogroups.com, Nick Middleweek nick@... wrote:
I have problem with the IGridItemEditor.save() method.
According to the docs for save()...if the data isn't valid, then the data isn't
saved and the editor is not closed.
So I setup an example to test this, and its seems ok. However, once I enter
valid data and hit the Tab key, I expect the
headerText=col4/
/s:ArrayList
/s:columns
/s:DataGrid
s:HGroup
s:Button id=btn1 label=lock row click=lockRow() /
s:Button id=btn2 label=unlock row click=unlockRow()/
/s:HGroup
/s:Application
--- In flexcoders@yahoogroups.com, bhaq1972
, bhaq1972 mbhaque@ wrote:
How would I go about making the datagrid.selectedItem the ONLY editable row?
A bit like making individual columns editable by setting
GridColumn.editable.
Thanks
BH
the grid data provider with the
changed row value.
Sent from my iPhone
On Aug 24, 2011, at 10:56 PM, Amy amyblankenship@... wrote:
How would a user edit a row that is not selected?
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
How would I go about making
How would I go about making the datagrid.selectedItem the ONLY editable row?
A bit like making individual columns editable by setting GridColumn.editable.
Thanks
BH
Why does the red error box not show when I have this
DefaultGridItemEditor(dg.itemEditorInstance).errorString = error;
but does show when I have this
DefaultGridItemEditor(dg.itemEditorInstance).textArea.errorString = error;
I have a very simple question about Spark TextInput.
s:TextInput text=Highlight this text and see what color the text is
focusedTextSelectionColor=black/
When I use focusedTextSelectionColor=black
I want the the colour of the text to be white (like it is in flex 3 and lower)
How do I achieve
no probs. my answer was based on flex 4 (i havent been using flex 3 for a long
time)
cheers
--- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote:
There is no borderVisible style for DateField, it exists only for
DateChooser, only in Flex 4 SDK and only in default skin theme
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
fx:Declarations
!-- Place non-visual
, bhaq1972 mbha...@... wrote:
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
the class in solemn ActionScript.
--
Best regards,
Andriy Panas
On 14 July 2010 13:41, bhaq1972 mbha...@... wrote:
I have created a very simple MyTextInput
MyTextInput.mxml
-
?xml version=1.0 encoding=utf-8?
s:TextInput xmlns:fx=http://ns.adobe.com/mxml
or
borderVisible : false;
--- In flexcoders@yahoogroups.com, Andriy Panas a.pa...@... wrote:
Have a look at textInputStyleName style
http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/mx/controls/ComboBase.html#style:textInputStyleName
-
.
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
Anyone know why styling is not being applied to this Flex4 example (a
modified example from livedocs)?
thanks
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
Anyone know why styling is not being applied to this Flex4 example (a modified
example from livedocs)?
thanks
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/mx
s:layout
s:VerticalLayout
I am trying to migrate
Flex 3
mx:VBox verticalScrollPolicy=off horizontalScrollPolicy=off
to a Flex4 s:VGroup
However, VGroup does not have verticalScrollPolicy or horizontalScrollPolicy.
What do I use, to ensure scrollBars don't show on my VGroup.
Thanks
Or you might want click the Use Flex 3 compatibility mode checkbox
under properties / compiler
--- In flexcoders@yahoogroups.com, Peter DeHaan pdeh...@... wrote:
If you're using Flex 4, I'd probably use the s:BorderContainer instead. It
gives you a lot better control over the border
do a google on
IFrame Alistair Rutherford
this might help
--- In flexcoders@yahoogroups.com, sridhar s sweetsrihe...@... wrote:
How to integrate a HTML page inside the flex,
i tried a lot using iframeetc but everything redirects to another page ,
i need the HTML page inside the
a whitewashed code example let me know.
Randy
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
myPanel.owner is the same as myPanel.parent so that won't work.
Making it a property would work. What would the disadvantages be with using
myPanel.parent.parent.parent (a trace shows
thanks
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
nc = null;
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
myPanel.owner is the same as myPanel.parent so that won't work.
Making it a property would work. What would the disadvantages
:
Or make nc a property of the class so you can use it in any method.
--- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
Try myPanel.owner
On 6/9/10 8:23 AM, bhaq1972 mbhaque@ wrote:
I added a Panel component into a NavigatorContent
public function
I added a Panel component into a NavigatorContent
public function aMethod():void
{
var nc:NavigatorContent = new NavigatorContent();
nc.addElement(myPanel);
}
Now, in another method I want to access this NavigatorContent
eg
public function anotherMethod(myPanel:Panel):void
{
var
Thanks Alex
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Use a Custom skin for the Panel
On 6/3/10 8:13 AM, bhaq1972 mbha...@... wrote:
In flex 3
I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar.
var button:Button = new Button
In flex 3
I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar.
var button:Button = new Button();
this.titleBar.addChild(button);
whats the equivalent to this in Spark?
one way i'm thinking of is using a basic layout, and positioning the buttons
where I want.
Just wanted
Anyone?
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Just wondering,
Can someone tell me which layout/container is being used for Featured
Projects section in Tour De Flex (Under Introduction to Flex What's
Possible).
thanks
Generic form
var item:String = xmlLC.getItemAt(i).collectionID; ??
Try this
var item:String = xmlLC.getItemAt(i)[collectionID];
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Actually, the dpID is different for each xmllistcollection being passed.
For
sorry, i meant
var item:String = xmlLC.getItemAt(i)[collectionID];
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Generic form
var item:String = xmlLC.getItemAt(i).collectionID; ??
Try this
var item:String = xmlLC.getItemAt(i)[collectionID
Just wondering,
Can someone tell me which layout/container is being used for Featured
Projects section in Tour De Flex (Under Introduction to Flex What's
Possible).
thanks
@yahoogroups.com, Alex Harui aha...@... wrote:
Maybe put the ButtonBar in a Scroller or put a Scroller in the ButtonBar skin?
On 5/11/10 1:14 AM, bhaq1972 mbha...@... wrote:
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar
is small ...so the end buttons don't show
.layout.horizontalScrollPosition +=
buttonbar1.layout.getScrollPositionDeltaToElement(buttonbar1.selectedIndex).x;
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, May 11, 2010 at 9:14 AM, bhaq1972 mbha...@... wrote:
I have a spark ButtonBar
I have a spark ButtonBar with a horizontalLayout. The width of the ButtonBar is
small ...so the end buttons don't show.
When I set the selectedIndex to one of the end buttons...its not coming into
view.
How can I ensure the selectedItem is in view?
thanks
s:HGroup
s:ButtonBar id=buttonbar1
/
/s:stroke
/s:Line
s:Label id=labelDisplay x=20 y=0 ..other attributes /
/s:Group
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
Hi
I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin.
However, i'm having a few issues with trying to create
Hi
I'm trying to create a ButtonBar skin which looks like a halo LinkBar skin.
However, i'm having a few issues with trying to create the separator graphic.
So far my ButtonBarButton skin has a Label.
1) Do I create the separator graphic in updateDisplayList()? If so can someone
help with a
try
newObject.setStyle(skinClass,
getDefinitionByName(spark.skins.spark.TextInputSkin));
instead of
newObject[skinClass] = spark.skins.spark.TextInputSkin;
--- In flexcoders@yahoogroups.com, Netaman rtigr...@... wrote:
I stripped away most of the code and just have all the pertinent parts.
I have a set of button skins which all look like the following skin
s:SparkSkin
xmlns:fx=http://ns.adobe.com/mxml/2009;
xmlns:s=library://ns.adobe.com/flex/spark
fx:Metadata
[HostComponent(spark.components.Button)]
/fx:Metadata
s:states
s:State name=up /
('downSkin')
/
/s:SparkSkin
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 12:47 PM, bhaq1972 mbha...@... wrote:
I have a set of button skins which all look like the following skin
s:SparkSkin
xmlns:fx=http
Hasn't worked.
--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote:
If it does not work try replacing getStyle with hostComponent.getStyle.
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972 mbha
I did this little test. It should help.
s:Panel id=panel1 title=panel width=50% height=50%
s:controlBarContent
s:Label text=Label appears in Control Bar/
/s:controlBarContent
/s:Panel
s:Button click=test() label=add/
fx:Script
![CDATA[
public function test():void
{
var
to be set in curly braces like:
source.up={getStyle('upSkin')}
Sorry!
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 mbha...@... wrote:
Hasn't worked.
--- In flexcoders@yahoogroups.com flexcoders
I am setting the width of a Spark Panel to zero but I can still see it.
Halo Panel does not have this problem.
Any ideas?
Thanks in Advance.
Here's a simple example
?xml version=1.0 encoding=utf-8?
s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;
Sorted...
I need the property clipAndEnableScrolling=true
for the main panel to be set.
s:Panel id=MainPanel
s:layout
s:VerticalLayout clipAndEnableScrolling=true
/s:layout
/s:Panel
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
I am setting the width of a Spark
HGroup, but feel free to file a bug at http://bugs.adobe.com/flex/
and Adobe can look into it.
Peter
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Thursday, April 22, 2010 4:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex
would need a layout that uses absolute positioning, while
vertical, horizontal and tail layout are automatic layouts and don't use
absolute positioning.
Haykel Ben Jemia
Allmas
Web RIA Development
http://www.allmas-tn.com
On Fri, Apr 23, 2010 at 9:45 AM, bhaq1972 mbha...@... wrote
Why does this work
s:Group width=100% height=28
s:Rect top=0 right=0 bottom=0 left=0
s:fill
s:SolidColor color=0x4960a6 /
/s:fill
/s:Rect
/s:Group
But this doesnt?
s:HGroup width=100% height=28
s:Rect
s:fill
s:SolidColor color=0x4960a6 /
/s:fill
I don't have a suggestion but wanted to know if you found anything useful to
help your problem?
We had one customer who had this problem on one of their pc's. But I never got
to the bottom of what was happening. It became a low grade issue (as it was
only one pc). I couldn't replicate the
Doesn't make sense. I just tried it out and it works for me in an ActionScript
project as well.
Clearly, you Car class constructor takes 2 arguments, and its being passed 2
args in the instantiation.
If you are using flexbuilder try click ProjectClean (this will build the
project like its
interested in
reading through it...
I've just googled Andrew Trice BitMapData blog getUIComponentBitmapData
but can't find what you've mentioned.
Cheers,
Nick
On 25 March 2010 10:43, bhaq1972 mbha...@... wrote:
I think i'm barking up the wrong tree. I misread your question
But, pressing Print Screen and then pasting it into an image container would
be much nicer and more consistant.
Have you checked out Andrew Trice's BitMapData blog. Very clever stuff.
Just an idea. When someone presses the PrintScreen button, call
his function getUIComponentBitmapData() to
into the image container.
I check out the blog just incase there is some other magic there...
Cheers,
Nick
On 25 March 2010 09:31, bhaq1972 mbha...@... wrote:
But, pressing Print Screen and then pasting it into an image container
would
be much nicer and more consistant.
Have you
your class Car looks okay and so does you syntax to instantiate it and method
call.
try this. Create an Application(test.mxml) in the same folder location as your
Car.as file.
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Button label=test click=test()/
Referring back to your lessons is no different to what you would do if you were
learning any new skill (eg learning English or French). You will keep doing
that until you become familiarand then you move to more complex stuff.
My suggestion would be keep looking at examples, try them out.
sometimes setting the dataprovider to null (or new Object) worked for me.
partsGrid.dataProvider = null;
partsGrid.dataProvider = partsListCollection;
or
set the dataProvider in another event like creationComplete.
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:
I think
@yahoogroups.com flexcoders%40yahoogroups.com,
bhaq1972 mbhaque@ wrote:
I have an itemRollover event handler in my datagrid.
This datagrid also has some invisble columns (i made them visible=false
during the datagrid's initialize event)
Now if I make col0 invisible, and col1
I have an itemRollover event handler in my datagrid.
This datagrid also has some invisble columns (i made them visible=false during
the datagrid's initialize event)
Now if I make col0 invisible, and col1 visible,
i.e.
mx:DataGridColumn dataField=col0 visible=false..
mx:DataGridColumn
Hi Nick
If the returned object has 3 nested levels its xml but if it 4 nested levels
its not?
Do you use flexbuilder debugger? It might be worth putting a breakpoint at the
point where you return from the httpserviceand examining it. It might not
be a object which can be typecasted to
to delay the changing of the
data or send a fake mouseOut event.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Monday, November 30
I'm getting this runtime error which I hope someone can help me with.
Basically, I added a headerRelease event to my DataGrid. The plan is...when a
user clicks a dg column header rather than sorting the rows, i plan to
re-populate the datagrid with rows from a different sql database call.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Monday, November 30, 2009 8:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RTE - DataGridHeader/mouseOutHandler
I'm getting this runtime error which I hope someone can help me
[row][2]
---
/mx:columns
/mx:DataGrid
/mx:WindowedApplication
Beau
On Fri, Aug 28, 2009 at 5:28 AM, bhaq1972 mbha...@hotmail.
mailto:mbha...@... com wrote:
Can the dataField reference an array position eg
var array1:Array = [hello, world, etc
Can the dataField reference an array position eg
var array1:Array = [hello, world, etc];
...
mx:DataGridColumn dataField=array1[1] /
at the moment the only way i can make this work is use a labelFunction
eg
mx:DataGridColumn dataField=array1[1] labelFunction=something/
Just wondered if there
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Thursday, August 06, 2009 8:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGridColumn widths not correct when Datgrid
horizontalScrollPolicy=auto
Hi List
When DataGrid
Hi List
When DataGrid horizontalScrollPolicy=auto, the DatagridColumn widths are not
correct.
When I scroll right(on the dg horizontalscroll bar).
I can see my last 2 columns are not the same width (eventhough i set them both
to 20).
When horizontalScrollPolicy=off .both widths are the
var myXML:XML = root
node label=hello1something/node
node label=hello2something/node
/root;
when I do
trace(myXML..node.(@label=hello1).toXMLString());
its okay, but if i search for a @label which doesn't exists eg
I'm trying to set the selectedItem for the given example. But I'm having all
sorts of problems.
The tree's dataprovider is XML. I'm only interested in selecting the child
nodes (@label == Receipt)that means I have to expand the menu as well.
Can someone give me some ideas?
Code -
= XML(menuTree.dataProvider[0]..node.(@label ==
Receipt)).normalize();
}
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
I'm trying to set the selectedItem for the given example. But I'm having all
sorts of problems.
The tree's dataprovider is XML. I'm only interested
to look DragManager showFeedback but I'll admit i did not have
a whole lot of luck with this myself.
hope this helps
joss
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
During a dragOver event I want to manually show the green plus or red cross
icon on the dragProxy image
Thanks but this doesn't seem to work for me.
Is there anything else.
Regards
bod
--- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote:
Hi there...
You need to take a look at this:
DragManager.showFeedback(DragManager.MOVE);
hth
adrian
bhaq1972 wrote
Check out the property headerRender on DatagridColumn.
mx:DataGridColumn headerRenderer=mx.controls.TextInput/
--- In flexcoders@yahoogroups.com, ujjwalkanti_manna ujjwalkanti_ma...@...
wrote:
Hi All,
I am new in the flex world.Could any of you tell us how can I make the
datagrid column
Have you seen Stimulsoft. One of things it has is a Flex runtime
designervery nice.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi everyone,
I am totally amazed at the cool front-end UI things that could be done in
Flex. I have been dabbling a lot on
During a dragOver event I want to manually show the green plus or red cross
icon on the dragProxy image. How do I do that?
thanks
Hi everyone.
Is it possible to drag and drop individual cells within a DataGrid (or any
other List container)?
for eg. drag cell [col1,row1] to [col3, row1] .it could be multiple cells.
Any help would be appreciated.
regards
bod
TabNavigatorObj.addChildAt(this, TabNavigatorObj.getChildren().length - 1);
Just a guessI think your problem is TabNavigatorObj.getChildren().length
Its not what you think it is (do a trace on it).
instead, try using
TabNavigatorObj.addChild(this);
--- In flexcoders@yahoogroups.com,
:
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
Google maps flex API have their own forum. You can ask the question
there...very helpful bunch.
Hi, thank you. Could you provide a link? I have not been able to find
this group, is it a yahoo or google group?
J
Google maps flex API have their own forum. You can ask the question
there...very helpful bunch.
--- In flexcoders@yahoogroups.com, Jean H. Chandler j...@...
wrote:
Greetings ladies and gentlemen of Flex,
My name is Jean. I'm something of a Flex newby, though I've done a
few small
for a button at run time?
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
i'm no expert but i'd suggest not using XML as the
dataprovideronly because of what the docs say and looking at
the
code prior to line 378 in NavBar.as
I modified your dataprovider to look like
For background, what I'm trying to experiment with is compressing
XML on the server-side and decompressing it on the client-side to
see if I can improve performance. If anyone has thoughts or
suggestions on this topic, I'm all ears. (AMF is not supported on
the server I'm using, so
--- In flexcoders@yahoogroups.com, markgoldin_2000
markgoldin_2...@... wrote:
Can I disable some buttons in ToggleButtonBar control?
Thanks
sure...something like this would do it
Button(myToggleButtonBar.getChildAt(1)).enabled = false;
i'm no expert but i'd suggest not using XML as the
dataprovideronly because of what the docs say and looking at the
code prior to line 378 in NavBar.as
I modified your dataprovider to look like this
mx:dataProvider
mx:Array
mx:Object id=b4 label=G2 online=true icon=@Embed.../
etc..
You have to embed a mx:Script tag inside the Component tag i.e
mx:Component
mx:Label ...
mx:Script
etc
/mx:Component
--- In flexcoders@yahoogroups.com, markgoldin_2000
markgoldin_2...@... wrote:
I am specifying a heder renderer in the following way:
mx:DataGridColumn dataField=endtime
mx:Label
text=End Time/
mx:Script
/mx:Script
/mx:Component
/mx:headerRenderer
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
You have to embed a mx:Script tag inside the Component tag i.e
If you want to add columns dynamically, you need something like this
var colNum:int=5
for(var i:int=0;icolNum;i++)
{
var col:DataGridColumn = new DataGridColumn();
col.dataField = some value1;
col.headerText = some value2;
myDataGrid.columns.push(col);
}
you'd then generate your
names(the ones
before the semicolon) can be different and as I said I get them and
the values(objects) from Arrays.
Thanks again
Jo
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
If you want to add columns dynamically, you need something like
this
var colNum:int=5
as
example of what I need to create).
This is basically my problem,
How to build it based on column array and on data array?
Only then I will assign it to the DataGrid
Thanks for your time, realy
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
Can I set it dynamically
, bhaq1972 mbhaque@ wrote:
Thanks for your time, realy
thats okay. Can you send an example of column array and data
array?
--- In flexcoders@yahoogroups.com, yossi.baram yossi.baram@
wrote:
Hi man,
I am very sorry to say that I was not clear :(
myArray is what I
Hi jo
I've had a little play around with what you gave and came up with the
following example. Let us know if this is what you want.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
import
glad I could help.
--- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@...
wrote:
You are great
Thanks man, it works like a charm :)
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote:
Hi jo
I've had a little play around with what you gave and came up
From: flexcoders@yahoogroups.com
[mailto:flexcod...@yahoogroups.com] On
Behalf Of bhaq1972
Sent: Friday, January 30, 2009 10:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Generated html page backgroundcolour
I just realized
mx:Application
I have my Flexbuilder set to the default settings.
How can I make sure the generated HTML wrapper has a white
backgroundColor. I know its something to do with ${bgcolor}. But how
do I set this?
Any help would be appreciated.
I just realized
mx:Application backgroundColor=white etc
generates the white background in the generated html wrapper
--- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote:
I have my Flexbuilder set to the default settings.
How can I make sure the generated HTML wrapper has
not make sense with a RemoteObject.
As an aside, it is not necessary to use a WSDL on the client side.
If
you know the data structures and methods, you can call a Web
Service
without the WSDL. I have done this many times.
--- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote
Does mx:RemoteObject have a loadWSDL() equivalent method like
mx:WebService?
regards
1 - 100 of 462 matches
Mail list logo