: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: dinsdag 6 september 2011 22:35
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
Hi,
You can post multidimensional arrays
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 6 september 2011 3:54
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
Hi Cor,
Assuming you know enough php to set up the file for connecting to your
Hi,
I remember having to hack this in Flash for a list component, you
should be able to set the style, but you need to use GrantSkinners
workaround http://gskinner.com/blog/archives/2007/05/variable_scroll.html
Edit your skin, then include Grant's fl.controls.List or whatever -
that
Hi Cor,
Assuming you know enough php to set up the file for connecting to your
database,
you can insert into your database with the following example.
function addDescription($id, $name, $description) {
//Escape any data being inserted
$id = mysql_real_escape_string($id);
.
Best regards,
Cor van Dooren
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 6 september 2011 3:54
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim
My problem is how to fetch my $_POST['VALUES'], which is the
multi-dimensional array:
myArray[0[id]
myArray[0][name]
myArray[0][description]
...
etc.
I'm not a PHP expert, but in general you can't really submit an array
as form data directly to a CGI program. You have to post
...@chattyfig.figleaf.com] On Behalf Of Dave Watts
Sent: dinsdag 6 september 2011 5:27
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
My problem is how to fetch my $_POST['VALUES'], which is the
multi-dimensional array:
myArray[0[id
...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 6 september 2011 3:54
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash
to mySQL
with PHP
Hi Cor,
Assuming you know enough php to set up the file for connecting to your
database, you can
Of Dave
Watts
Sent: dinsdag 6 september 2011 5:27
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash
to mySQL
with PHP
My problem is how to fetch my $_POST['VALUES'], which is the
multi-dimensional array:
myArray[0[id]
myArray[0][name]
myArray[0
Do you mean that is it not possible to send an array from Flash to PHP in
this way:
private function validateAndSend(e:MouseEvent):void {
form_variables = new URLVariables();
...
form_variables.VALUES = myMultiDimArray;
september 2011 6:07
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
I think you may be able to use the php split() or explode() on a array of
data sent.
but probably easier to split it up when gathering the info in flash.
multiple small queries
: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Dave Watts
Sent: dinsdag 6 september 2011 6:08
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
Do you mean that is it not possible
...@chattyfig.figleaf.com] On Behalf Of
Dave Watts
Sent: dinsdag 6 september 2011 5:27
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash
to mySQL
with PHP
My problem is how to fetch my $_POST['VALUES'], which is the
multi-dimensional array:
myArray[0[id
6 september 2011 6:07
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash
to mySQL
with PHP
I think you may be able to use the php split() or explode() on a
array of
data sent.
but probably easier to split it up when gathering the info in flash.
multiple
...@chattyfig.figleaf.com] On Behalf Of
Dave Watts
Sent: dinsdag 6 september 2011 5:27
To: Flash Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash
to mySQL
with PHP
My problem is how to fetch my $_POST['VALUES'], which is the
multi-dimensional array:
myArray[0[id
Coders List
Subject: Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL
with PHP
Correction...
_parent.status = this.status;
}
};
mylv.sendAndLoad(http://yourwebsite.com/process.php;, myreply,
POST);
_parent.status = sending now
: Re: [Flashcoders] Datagrid problem after resize page
Karl DeSaulniers skriver:
Yeah. Try creating an empty moviclip and set the scale9 property in the
library. Then put your grid in it and see if it scales the way you want.
Sort of a hack, but might work for what your wanting.
Nine section
Correct. So my theory is.. put your grid inside a scale9'd MC. :)
My only other suggestion is to switch grid components or roll your
own if pos.
That link I sent you had some source example you could look at.
I tried resizing the demo on my computer and it looked ok.
Question: Is any part of
: zaterdag 4 september 2010 10:26
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Correct. So my theory is.. put your grid inside a scale9'd MC. :)
My only other suggestion is to switch grid components or roll your
own if pos.
That link I sent you had some source
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 4 september 2010 10:26
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Correct. So my theory is.. put your grid inside a scale9'd MC. :)
My only other
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 31 augustus 2010 0:32
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Hey Cor,
Its a long shot, but can
Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: dinsdag 31 augustus 2010 0:32
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Hey Cor,
Its a long shot, but can
Karl DeSaulniers skriver:
Yeah. Try creating an empty moviclip and set the scale9 property in the
library. Then put your grid in it and see if it scales the way you want.
Sort of a hack, but might work for what your wanting.
Nine section scaling does not cascade. It only applies to shapes
Thanks Karl
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: maandag 30 augustus 2010 2:45
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after
: maandag 30 augustus 2010 2:45
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Redemption. :)
http://www.rareviewblog.com/2009/01/21/flash-as3-grid-sorting/
Best,
Karl
On Aug 29, 2010, at 7:40 PM, Karl DeSaulniers wrote:
I do apologize, I just realized
No, unfortunatly not...
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: maandag 30 augustus 2010 21:11
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: maandag 30 augustus 2010 21:11
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
That do the trick?
Karl
Sent from losPhone
On Aug 30, 2010, at 1:43 PM, Cor c
: zaterdag 28 augustus 2010 23:40
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
This might help.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/
controls/DataGrid.html
But I am thinking you have already seen this.
Sorry I am not much more help
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 23:40
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
This might help.
http://www.adobe.com/livedocs/flash/9.0
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 23:40
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
This might help.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl
Is this what you are looking for?
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/
display/DisplayObject.html#scale9Grid
Best,
Karl
On Aug 28, 2010, at 5:29 AM, Cor wrote:
Hi List,
I have used a datagrid which looks OK when the page is viewed in its
original dimensions.
DeSaulniers
Sent: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Is this what you are looking for?
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/
display/DisplayObject.html#scale9Grid
Best,
Karl
On Aug 28, 2010
: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Is this what you are looking for?
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/
display/DisplayObject.html#scale9Grid
Best,
Karl
On Aug 28, 2010, at 5:29 AM, Cor
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Is this what you
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Is this what you are looking for?
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/
display
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl
DeSaulniers
Sent: zaterdag 28 augustus 2010 12:37
To: Flash Coders List
Subject: Re: [Flashcoders] Datagrid problem after resize page
Is this what you are looking for?
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/
display
You are using setSize() right? That's how components figure out the space they
have to
work in.
--- On Thu, 3/11/10, Lehr, Theodore ted_l...@federal.dell.com wrote:
From: Lehr, Theodore ted_l...@federal.dell.com
Subject: [Flashcoders] DataGrid - Height - Scrollbar
To: Flash Coders List
If i got it right he his using Flash not Flex, and so, there is no
ArrayCollection to be [Bindable] unless you can mimic in some way the
ArrayCollection Class on Flash.
2009/10/26 Dave Watts dwa...@figleaf.com
And the dataprovider is also set to a [Bindable] property right?
This is almost
Have you tried myDataGrid.dataProvider.refresh();
And the dataprovider is also set to a [Bindable] property right?
Jason Merrill
Bank of America Global Learning
Learning Performance Soluions
Monthly meetings on making the most of the Adobe Flash Platform -
presented by bank associates,
And the dataprovider is also set to a [Bindable] property right?
This is almost certainly the problem, right here. Array isn't
Bindable, ArrayCollection is.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction
Can you set up a function to listen for any changes to the data and
refresh when a change happens?
J.A.T.
Karl
On Oct 24, 2009, at 4:48 PM, Andrew Sinning wrote:
Publishing for F9 with AS3, using Flash not Flex.
I have a simple DataGrid. I've added 9 items to its DataProvider.
They
I'm now listening for changes and then using
dataProvider.invalidateItem(changedItem). Works as it should.
Is there a class that I should be extending with my Candidate object in
order to take advantage of some built-in events.
Karl DeSaulniers wrote:
Can you set up a function to listen
Try this.
myDataGrid.dataProvider=myDataGrid.dataProvider;
I found it here: http://asji-lab.blogspot.com/2005/10/datagrid-
refresh-contents.html
HTH
Karl
On Oct 24, 2009, at 5:11 PM, Andrew Sinning wrote:
I'm now listening for changes and then using
Look for CellRenderer tutorials.
Lehr, Theodore M (N-SGIS) wrote:
Anyone know of a good tutorial on how to incorporate a button into a
datagrid?
Ted
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
You say your loop is going the correct amount of times, but have you
checked the array? Try looping over the array and tracing all the
elements (along with the length of the array). Does what you get
match what you expect?
-Andy
On Feb 5, 2008 11:45 AM, Lehr, Theodore M (N-SGIS)
[EMAIL
http://www.flash-db.com/Tutorials/cellrenderer/
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp
.htm?context=LiveDocs_Partsfile=3131.html
Jason Merrill
Bank of America
GTO LLD Solutions Design Development
eTools Multimedia
Bank of America Flash Platform
: Thursday, March 15, 2007 4:50 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Datagrid sorting
You should add a listener to the DataGrid and then sort the
dataprovider. Here is a quick example, also sorting both ways
AscDesc (keeping track if a column is sorted one way and
sorting
Is dataProvider.sortOn a proper method? Do you want
dataProvider.sortItemsBy instead?
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, March 15, 2007 1:16 PM
To: flashcoders@chattyfig.figleaf.com
Can your DataProvider be xml?
I'm not sure the Array sort methods do what you want, they might, but they're
probably less efficient than an xml transformation anyway.
then you might try sorting the dataSource itself beforehand using xsl:sort in
an xsl template? When you want to reverse the
You should add a listener to the DataGrid and then sort the
dataprovider. Here is a quick example, also sorting both ways AscDesc
(keeping track if a column is sorted one way and sorting it the other
way next time)
myDataGrid.addColumn(Product);
myDataGrid.addColumn(Quality);
This strange quirk of the DataGrid Component has nothing to do with the
Flash Remoting RecordSet Class. It is in fact caused by the DataGrid
being exactly the right height to display 20 records. The solution is
simple, make it one pixel less high.
-Original Message-
From: [EMAIL
Banging head against wall.
Sorry guys, I managed to find a little line of code
addItem('no items in list');
Which did the damage. Nothing wrong with the DataGrid :)
Cheers,
Ben
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Smeets
Sent: dinsdag
99,9% of us know how you feel m8:)
On 11/7/06, Ben Smeets [EMAIL PROTECTED] wrote:
Banging head against wall.
Sorry guys, I managed to find a little line of code
addItem('no items in list');
Which did the damage. Nothing wrong with the DataGrid :)
Cheers,
Ben
-Original Message-
Check out the CellRenderer API in the Flash docs.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Laurent
CUCHET
Sent: 25 September 2006 11:09
To: Flashcoders mailing list
Subject: [Flashcoders] Datagrid
I try to put a button in a row of a datagrid for
Hello :)
you can find examples to use Datagrid in this web site :
http://philflash.inway.fr/index.html
the tutorials are in french but you can understand the method to create a
custom CellRenderer, example :
http://philflash.inway.fr/dghtmlrd/dghtmlrd.html
EKA+ :)
2006/9/24, Laurent CUCHET
I swear I saw a sortable datagrid on IFBIN - can't check at the mo' as
my work proxy won't allow access - but it is definetely dooable
M
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Chris Hill
Sent: 19 August 2006 01:50
To: 'Flashcoders
I'm confused as to how the drawHeaderBG function relates to moving a
scrollbar. Regardless, this should move you in the right direction:
for (var i=0;i20;i++){
foo.push({test:blah});
}
dg.dataProvider = foo;
onEnterFrame = function(){
dg.vSB._x = dg.width + 10;
The drawHeaderBG function doesn't really relate to moving the scrollbar,
i was just thinking, that function seems to be overwriting one in the
datagrid, i thought it was possible that you could do a similar thing
for the scrollbar position, it was just a possibility that ran through
my head.
As long as the grid itself and the columns within are set to editable,
the grid through the IDE or programmatically and the columns
programmatically, you should not have any problems accessing a field
within...I'd have to look at the code...
-Original Message-
From: [EMAIL PROTECTED]
AH! Thanks Matthew -- though I didn't set the grid.editable to false
-- when I set it to TRUE, then it all worked.
So though the columns themselves are set to true, if the grid wasn't
set to true, it canceled it all out...
Thanks again.
___
Kool Beanz Grimm...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
grimmwerks
Sent: Monday, May 22, 2006 1:27 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dataGrid and editable text...
AH! Thanks Matthew -- though I didn't set
Dammit - them beanz ain't cool enough...
hate to be more of a PITA than I already am -- but now I want to make
the first column NOT editable.
So I've set the db.editable = true -- that sets all them beanz editable.
Then I've dg.getColumnAt(0).editable = false -- and that bean is still
flipping
, May 22, 2006 1:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] dataGrid and editable text...
Dammit - them beanz ain't cool enough...
hate to be more of a PITA than I already am -- but now I want to make
the first column NOT editable.
So I've set the db.editable = true -- that sets
It seems to be always editable.
menuGrid.dataProvider = pMenu;
// setting editable stuff
menuGrid.editable = true;
menuGrid.getColumnAt(0).editable = false;
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or
You know, even if I SET the grid.editable = false, the first column is
ALWAY editable.
I've even flipped cellRenderers as tests -- this thing is driving me bonkers.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the
Whoa! Thats like taking a K-car and putting a Fiero in the trunk and
trying to turn on the Fiero's radio with the K-car controls.
If it were me I would build my own accordian.
Randy Troppmann
On 5/17/06, Rich Rodecker [EMAIL PROTECTED] wrote:
I have an mc that i add to an accordian via
heh...actually i got it to work fine. turns out i was just doing
something wrong setting the DataGrid's dataProvider.
(turns out it really doesnt like it when you use an array of xmlnodes'
attribute objects for the dp, so I just copied the attribute objects
into a new object before adding it to
i found that if you have the fields set to antialias for readability
then they will disappear! setting as bitmap worked for me.
pretty sure you shouldn't have to do this though
Manuel Saint-Victor wrote:
I have a DataGrid in a Form Based Flash 8 App that when I set the global
Styles for
Would I do that globally or for the DataGrid's headerText or what?
On 4/25/06, Tom Rhodes [EMAIL PROTECTED] wrote:
i found that if you have the fields set to antialias for readability
then they will disappear! setting as bitmap worked for me.
pretty sure you shouldn't have to do this
Scott,
It is build to handle thousand of rows, but there a couple of
issues. Population of the datagrid is slow as molasses. You might
be able to short circuit your way into some better performance, but
it's a crapshoot.
I did some tests on this a while back and posted about it on my
Also, don't even bother trying to sort. It might be interesting to
try delegating sorting to the server and getting a permutation
vector back...but even then, it might give you trouble.
Well, if you've got enough records to make population and sorting a
performance issue, I'd suggest that
:[EMAIL PROTECTED] On Behalf Of Scott
Hyndman
Sent: Thursday, March 16, 2006 2:37 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] DataGrid Component Performance
It might be interesting to try delegating sorting to the server and getting
a permutation vector back...but even then, it might give
What do you mean by expand rows? But I think the answer is no - all
grid rows need to be the same height (this height is adjustable, but
applies to all rows).
The datagrid component can handle many thousand rows, but becomes very
unresponsive with a number of columns. In an application
Expand rows? Like a tree/table idea? No, it can't.
It is build to handle thousand of rows, but there a couple of issues.
Population of the datagrid is slow as molasses. You might be able to short
circuit your way into some better performance, but it's a crapshoot. Also,
don't even bother
-Original Message-
From: [EMAIL PROTECTED] on behalf of Scott Hyndman
Sent: Wed 3/15/2006 8:33 PM
To: Flashcoders mailing list
Cc:
Subject:RE: [Flashcoders] DataGrid Component Performance
Expand rows? Like a tree/table idea? No, it can't.
It is build to handle
Check the styles for superclasses of components as well:
myDataGrid.setStyle('alternatingRowColors', [0xE0E0E0, 0xFF]);
alternatingRowColors comes from List.
Set an array with the colours you want.
Derek Vadneau
- Original Message -
From: Adrian Park [EMAIL PROTECTED]
To:
Thanks Derek - I realised I'd missed the List class just before I read your
reply. For various reasons I think something like...
my_datagrid.setPropertiesAt(rowNumber,{backgroundColor:0 xFF});
is going to work better for my purposes but I'll give your suggestion a go
if it doesn't work as I
Basically what you will need to do is get the id of that row and remove
it from the data populating the grid and then refresh the grid. (If I
remember correctly) ;)
HTH
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
Guerra
Sent: Friday, March
PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 10, 2006 2:19 PM
Subject: RE: [Flashcoders] datagrid icon to delete a row.
Basically what you will need to do is get the id of that row and remove
it from the data populating the grid and then refresh
Yes, basically...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
Guerra
Sent: Friday, March 10, 2006 11:32 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] datagrid icon to delete a row.
my grid dataprovider is a xml (created in flash
: Friday, March 10, 2006 2:19 PM
Subject: RE: [Flashcoders] datagrid icon to delete a row.
Basically what you will need to do is get the id of that row and remove
it from the data populating the grid and then refresh the grid. (If I
remember correctly) ;)
HTH
-Original Message
PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 10, 2006 4:01 PM
Subject: Re: [Flashcoders] datagrid icon to delete a row.
Not sure if this applies to the datagrid component in Flash, but to to
this in Flex 1.5 you would do
If a DG row is highlighted it is just yourDg.selectedIndex
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
Guerra
Sent: Friday, March 10, 2006 3:19 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] datagrid icon to delete a row.
thanks
can i get the dg row?
regards,
rodrigo
- Original Message -
From: Spike [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 10, 2006 4:01 PM
Subject: Re: [Flashcoders] datagrid icon to delete a row.
Not sure if this applies
Hi Adrian - the $5 datagrid extensions at
http://www.tufat.com/script5.htmwill let you do this.
best, - rajat
On 3/10/06, Adrian Park [EMAIL PROTECTED] wrote:
I'm working on an app' that uses the Datagrid component. It would make my
client very happy if I could apply unique colours to
Oleg Filipchuk schrieb:
Hello list,
I'm populating DataGrid component from DB. And I need to specify what
columns have to be shown to user.
Normally i'd say: why do you pull them in anyway ? but i guess you need them
internally :_)
i'm in a somewhat similar situation right now, i guess you
Just set the columnNames property of the datagrid. Example in middle of
page here: http://flash-creations.com/notes/servercomm_database.php
Helen
--
http://flash-creations.com
http://i-technica.com
Michael Stuhr wrote:
Oleg Filipchuk schrieb:
Hello list,
I'm populating DataGrid
I believe you can set up your columns ahead of time, and name them to match
items in your DP, and if you don't include a column for userid, it won't be
displayed, but it will still be part of the row's data that you can
interogate.
-edolecki
On 2/22/06, Oleg Filipchuk [EMAIL PROTECTED] wrote:
Thanks all,
I've found solution by setting up columns ahead of time:
private function createColumn( prop:String, label:String ):DataGridColumn {
var clmn:DataGridColumn = new DataGridColumn(prop);
clmn.headerText = label;
return clmn;
}
dataGrid.addColumn(createColumn(nickname,
/3271.html
Datagrid strategies:
http://livedocs.macromedia.com/flash/8/main/3253.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oleg
Filipchuk
Sent: Wednesday, February 22, 2006 8:32 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders
On Feb 22, 2006, at 9:02 AM, Michael Stuhr wrote:
i'm in a somewhat similar situation right now, i guess you have to
remove the Columns in your dataProvider and than set this data as
your grid's dataProvider.
All you have to do is set the DataGrid.columnNames prop of the data
grid. For
This one made it finally make sense
http://www.communitymx.com/content/article.cfm?page=2cid=B4AED
M
On 2/20/06, Noyes, Jeff [EMAIL PROTECTED] wrote:
Can anyone explain how to do this. I've seen one example by Jesse
Warden, but it was entirely Flash.
Jeff
I can answer #2; use columnNames.
my_dg.columnNames = [columnName, anotherColumnName]
Only those columns will be shown.
- Original Message -
From: Mark Wheeler [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 01, 2006 12:52 AM
Subject: [Flashcoders]
: [Flashcoders] datagrid question
I can answer #2; use columnNames.
my_dg.columnNames = [columnName, anotherColumnName]
Only those columns will be shown.
- Original Message -
From: Mark Wheeler [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 01, 2006 12:52 AM
Ran into this in the past... Here are 2 workarounds we received from our
Macromedia (at the time) support rep. These workarounds fixed the issue
in Flash Player 7, but I think they may have been broken by Player 8 -
since I've received bug reports about this again since Player 8 has come
out -
Put your contents into one array with object elements and use the
columnNames property to specify only the columns (ie, object properties)
you want to show. For example,
mydata = [{company:a, id:3}, {company:b, id:54}, etc];
mygrid.columnNames = [company];
There's a working example here:
Thanks Robert,
Im glad to hear it can be done, with a for loop I am populating the
Datagrid:
myDataSet = newArray();
for (var i = 0; imyResults.length; i++) {
//this will create 2 columns as we know it
myDataSet.push({ID:idValue, Name:name, Company:id});
//this
Helmut Granda wrote:
Thanks all for your help on this.
What I can't get my head around and maybe that is why I cant get this
to work is, how does the DG knows to get the info from certail columns
only?
I dont see the declaration that the information belongs to the DG.
Using Helen's sample
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Sexton
Sent: 18 November 2005 22:48
To: Flashcoders mailing list
Subject: Re: [Flashcoders] DataGrid
Thanks for the reply, do you know of any alternatives to the datagrid
with a bit more customizing?
Thank you,
Ryan Sexton
She's hardcoded to 16, bro, not much you can do.
- Original Message -
From: Ryan Sexton [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, November 18, 2005 5:15 PM
Subject: [Flashcoders] DataGrid
I'm playing with the DataGrid component
1 - 100 of 101 matches
Mail list logo