RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-07 Thread Cor
: 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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-06 Thread Glen Pike
[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

Re: [Flashcoders] DataGrid: Expanding vertical Thumb width

2011-09-05 Thread Glen Pike
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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
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);

RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Cor
. 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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Dave Watts
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

RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Cor
...@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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
...@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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Dave Watts
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;                

RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Cor
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

RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Cor
: 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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
...@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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
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

Re: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Karl DeSaulniers
...@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

RE: [Flashcoders] DataGrid: save multidim arrayfrom Flash to mySQL with PHP

2011-09-05 Thread Cor
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

2010-09-04 Thread Cor
: 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

Re: [Flashcoders] Datagrid problem after resize page

2010-09-04 Thread Karl DeSaulniers
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

RE: [Flashcoders] Datagrid problem after resize page

2010-09-04 Thread Cor
: 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

Re: [Flashcoders] Datagrid problem after resize page

2010-09-04 Thread Karl DeSaulniers
...@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

RE: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Cor
-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

Re: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Karl DeSaulniers
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

Re: [Flashcoders] Datagrid problem after resize page

2010-09-03 Thread Henrik Andersson
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

RE: [Flashcoders] Datagrid problem after resize page

2010-08-30 Thread Cor
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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-30 Thread Karl DeSaulniers
: 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

RE: [Flashcoders] Datagrid problem after resize page

2010-08-30 Thread Cor
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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-30 Thread Karl DeSaulniers
...@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

RE: [Flashcoders] Datagrid problem after resize page

2010-08-29 Thread Cor
: 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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-29 Thread Karl DeSaulniers
...@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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-29 Thread Karl DeSaulniers
...@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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Karl DeSaulniers
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.

RE: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Cor
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

RE: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Cor
: 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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Karl DeSaulniers
-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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Karl DeSaulniers
[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

Re: [Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Karl DeSaulniers
[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

Re: [Flashcoders] DataGrid - Height - Scrollbar

2010-03-11 Thread Jim Lafser
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

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-27 Thread Mauro Martins
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

RE: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Merrill, Jason
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,

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-26 Thread Dave Watts
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

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Karl DeSaulniers
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

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Andrew Sinning
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

Re: [Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Karl DeSaulniers
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

Re: [Flashcoders] DataGrid and Button

2008-02-05 Thread Glen Pike
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

Re: [Flashcoders] DataGrid: Extra Row

2008-02-05 Thread Andy Herrman
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

RE: [Flashcoders] DataGrid and Button

2008-02-05 Thread Merrill, Jason
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

RE: [Flashcoders] Datagrid sorting

2007-03-16 Thread Merrill, Jason
: 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

RE: [Flashcoders] Datagrid sorting

2007-03-15 Thread Pete Miller
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

RE: [Flashcoders] Datagrid sorting

2007-03-15 Thread Derek Lords
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

Re: [Flashcoders] Datagrid sorting

2007-03-15 Thread Bojil Vassilev
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);

RE: [Flashcoders] DataGrid Component not displaying all rows

2007-02-26 Thread Charlie Skinner
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

RE: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
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

Re: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Hans Wichman
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-

RE: [Flashcoders] Datagrid

2006-09-25 Thread Nick Weekes
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

Re: [Flashcoders] Datagrid and Image

2006-09-24 Thread eka
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

RE: [Flashcoders] DataGrid woes

2006-08-22 Thread Mike Mountain
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

Re: [Flashcoders] DataGrid Scrollbar

2006-06-17 Thread Chris Hill
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;

Re: [Flashcoders] DataGrid Scrollbar

2006-06-17 Thread ScriptJunkies
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.

RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
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]

Re: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread grimmwerks
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. ___

RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
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

Re: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread grimmwerks
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

RE: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread Matthew Simpson
, 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

Re: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread grimmwerks
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

Re: [Flashcoders] dataGrid and editable text...

2006-05-22 Thread grimmwerks
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

Re: [Flashcoders] datagrid inside an accordian

2006-05-17 Thread Randy Troppmann
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

Re: [Flashcoders] datagrid inside an accordian

2006-05-17 Thread Rich Rodecker
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

Re: [Flashcoders] DataGrid text disappears when using Embed Fonts in Flash 8

2006-04-25 Thread Tom Rhodes
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

Re: [Flashcoders] DataGrid text disappears when using Embed Fonts in Flash 8

2006-04-25 Thread Manuel Saint-Victor
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

Re: [Flashcoders] DataGrid Component Performance

2006-03-16 Thread Steve Webster
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

Re: [Flashcoders] DataGrid Component Performance

2006-03-16 Thread Steve Webster
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

RE: [Flashcoders] DataGrid Component Performance

2006-03-16 Thread André Goliath
:[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

Re: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Grant Cox
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

RE: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Scott Hyndman
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

RE: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Scott Hyndman
-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

Re: [Flashcoders] DataGrid rows with unique background colours?

2006-03-10 Thread Derek Vadneau
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:

Re: [Flashcoders] DataGrid rows with unique background colours?

2006-03-10 Thread Adrian Park
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

RE: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Clint Tredway
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

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Rodrigo Guerra
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

RE: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Clint Tredway
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

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Spike
: 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

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Rodrigo Guerra
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

RE: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Robert Chyko
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

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Spike
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

Re: [Flashcoders] DataGrid rows with unique background colours?

2006-03-10 Thread Rajat Paharia
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

Re: [Flashcoders] DataGrid Columns question

2006-02-22 Thread Michael Stuhr
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

Re: [Flashcoders] DataGrid Columns question

2006-02-22 Thread Helen Triolo
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

Re: [Flashcoders] DataGrid Columns question

2006-02-22 Thread eric dolecki
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:

Re: [Flashcoders] DataGrid Columns question

2006-02-22 Thread Oleg Filipchuk
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,

RE: [Flashcoders] DataGrid Columns question

2006-02-22 Thread Judah
/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

Re: [Flashcoders] DataGrid Columns question

2006-02-22 Thread bryan.rice
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

Re: [Flashcoders] Datagrid with hyperlink column???

2006-02-20 Thread Manuel Saint-Victor
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

Re: [Flashcoders] datagrid question

2006-01-31 Thread JesterXL
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]

RE: [Flashcoders] datagrid question

2006-01-31 Thread Mark Wheeler
: [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

RE: [Flashcoders] DataGrid scroll problem and Archive Access

2005-12-22 Thread Robert Chyko
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 -

Re: [Flashcoders] DataGrid - Content

2005-12-14 Thread Helen Triolo
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:

Re: [Flashcoders] DataGrid - Content

2005-12-14 Thread Helmut Granda
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

Re: [Flashcoders] DataGrid - Content

2005-12-14 Thread Helen Triolo
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

RE: [Flashcoders] DataGrid

2005-11-21 Thread Pete Hotchkiss
- 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

Re: [Flashcoders] DataGrid

2005-11-18 Thread JesterXL
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   2   >