[Flashcoders] Datagrid cell focus

2014-09-12 Thread Bill
I would like to try my question again too; FlashPro CS6, using pure .as3 code; I have a 6 column DataGrid. 4 of the columns use the normal TextField, and they work fine. On 2 of the columns I have set up a custom cell renderer, using the normal *public class MyCellRenderer extends

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

[Flashcoders] DataGrid: Expanding vertical Thumb width (Glen Pike)

2011-09-06 Thread lists-09
Glen: thank you! That works perfectly. ~Bill -- Message: 1 Date: Mon, 05 Sep 2011 17:18:34 +0100 From: Glen Pike g...@engineeredarts.co.uk Hi, I remember having to hack this in Flash for a list component, you should

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

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

2011-09-05 Thread Cor
I have a editable datagrid which I fill from mySQL with PHP. So far works good. But when items are changed (edit, added, deleted), I want them to save the data in my mySQL database. My values are in this multi-dimensional indexed array, which elements all contain a associative array:

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

[Flashcoders] DataGrid: Expanding vertical Thumb width

2011-09-04 Thread lists-09
What is the approach to expand a DataGrid vertical scrollbar's width (from the standard 15 pixels, to 44 or so, for touchscreens) in pure AS3 / Flash CS 5? It looks easy in Flex now http://www.switchonthecode.com/tutorials/flex-fun-advanced-datagrid-topics But in Flash/AS3, directly editing

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

[Flashcoders] Datagrid problem after resize page

2010-08-28 Thread Cor
Hi List, I have used a datagrid which looks OK when the page is viewed in its original dimensions. But if a user has a bigger resolution I scale my flash to that size. And then my datagrid looks bad: http://www.codobyte.com/!problem/datagrid.gif I want to keep the scaling part, so how can I

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

[Flashcoders] DataGrid and style

2010-03-11 Thread Lehr, Theodore
Is it possible to set the style of a datagrid cell based on the content? For example, say the cell either had a positive or negative number - if positive, I want the number to be green, if negative, I want it to be red... How would you go about this?

[Flashcoders] DataGrid - Height - Scrollbar

2010-03-11 Thread Lehr, Theodore
I can not seem to get a vertical scrollbar - my datagrid sets it's height to the content... I would like a height I set and have scrolling if neccessary... what am I doing wrong? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

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
...@chattyfig.figleaf.com] On Behalf Of Andrew Sinning Sent: Saturday, October 24, 2009 5:48 PM To: Flash Coders Subject: [Flashcoders] DataGrid not updating after DataProvider item changes Publishing for F9 with AS3, using Flash not Flex. I have a simple DataGrid. I've added 9 items to its DataProvider

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

[Flashcoders] DataGrid not updating after DataProvider item changes

2009-10-24 Thread Andrew Sinning
Publishing for F9 with AS3, using Flash not Flex. I have a simple DataGrid. I've added 9 items to its DataProvider. They are simple objects of a type Candidates that doesn't extend any other class. I have columns for 4 public properties of Candidate: name, voteUnits, percentVote and

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

[Flashcoders] DataGrid and Button

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
Anyone know of a good tutorial on how to incorporate a button into a datagrid? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

[Flashcoders] DataGrid: Extra Row

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
I am populating a datagrid via: data_array = new Array(); for (j=0; jthis.firstChild.childNodes.length; j++) { var lessonTitle:String = this.firstChild.childNodes[j].childNodes[0].firstChild.nodeValue; var desc:String =

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
Developer Community -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Tuesday, February 05, 2008 8:22 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] DataGrid and Button Anyone know of a good tutorial on how

[Flashcoders] DataGrid in Flash CS3 with AS3

2007-07-26 Thread Paul Steven
I am still struggling to create a flash AS3 application that needs to display a datagrid of data similar to the following: http://www.mediakitchen.co.uk/mark_sheet.jpg I would appreciate advice as to whether the datagrid is the most suitable approach to the display of data like this? I hadn't

[Flashcoders] DataGrid Column

2007-06-06 Thread Gilles Roquefeuil
Hello, is there a simple way of selecting an entire column in a datagrid ? I need to select (or to simulate a selection) the column using the headerRelease datagrid event Thanks, Gilles ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Datagrid + scrollbar speed

2007-04-23 Thread Austin Kottke
Anyone have any ideas why the scrollbar speed in a datagrid with about 40 columns and 30 rows would produce MAJOR lag when trying to scroll the datagrid? When you press the up and down arrows it seems to be fine, but when dragging there is major lag. This is in flex, - I thought maybe some

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

[Flashcoders] Datagrid sorting

2007-03-15 Thread Merrill, Jason
Need some help on sorting a datagrid by a particular collumn. Right now, it's sorting alphabetically by data in the second collumn instead of the first. I tried sorting the dataprovider first with the array sort methods, but they didn't work and the help docs indicate those array sorting methods

RE: [Flashcoders] Datagrid sorting

2007-03-15 Thread Pete Miller
Subject: [Flashcoders] Datagrid sorting Need some help on sorting a datagrid by a particular collumn. Right now, it's sorting alphabetically by data in the second collumn instead of the first. I tried sorting the dataprovider first with the array sort methods, but they didn't work and the help

RE: [Flashcoders] Datagrid sorting

2007-03-15 Thread Derek Lords
@chattyfig.figleaf.com Subject: [Flashcoders] Datagrid sorting Need some help on sorting a datagrid by a particular collumn. Right now, it's sorting alphabetically by data in the second collumn instead of the first. I tried sorting the dataprovider first with the array sort methods

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);

[Flashcoders] Datagrid - Hard

2007-03-06 Thread Laurent CUCHET
How can I do to convert Datagrid Accent ? I got a function name “replaceAccents” convert Textfield accent but I don’t find the way to done it with datagrid as show after. Thank you for your tips 1. Function function replaceAccents(fld:TextField, fromArr:Array, toArr:Array):Void { var

RE: [Flashcoders] DataGrid Component not displaying all rows

2007-02-26 Thread Charlie Skinner
] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Skinner Sent: 13 February 2007 15:47 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] DataGrid Component not displaying all rows I have a DataGrid Component that has it's dataProvider property set to a RecordSet that has been returned

[Flashcoders] DataGrid Component not displaying all rows

2007-02-13 Thread Charlie Skinner
I have a DataGrid Component that has it's dataProvider property set to a RecordSet that has been returned from the server via Flash Remoting. All goes well untill I try to display more than 20 results in the DataGrid, when it will display all except for the last one. I've traced the length of

[Flashcoders] datagrid import data

2007-01-19 Thread Laurent CUCHET
Hello Case : there is an mc with external data ( php/mysql) working well There is a dynamic textfield filled with db data, I get he text and its ok : ³La vallée de Celles-sur-Plaine² There is a datagrid filled with same db data and I get ³La vallée de Celles-sur-Plaine² Have you got an

[Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I have added a couple of rows which use CellRenderers to show per row a button with which the user can delete a specific row. This all seems to work fine, but the problem is that after deleting

RE: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Ben Smeets
7 november 2006 10:46 To: Flashcoders mailing list Subject: [Flashcoders] Datagrid keeps 1 empty row visible Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I have added a couple of rows which use CellRenderers to show per row a button

Re: [Flashcoders] Datagrid keeps 1 empty row visible

2006-11-07 Thread Hans Wichman
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Smeets Sent: dinsdag 7 november 2006 10:46 To: Flashcoders mailing list Subject: [Flashcoders] Datagrid keeps 1 empty row visible Hi all, Small problem with using the v2 datagrid component (which I try to avoid as much as I can). I

[Flashcoders] Datagrid

2006-09-25 Thread Laurent CUCHET
I try to put a button in a row of a datagrid for each line of it. How can I do ?? Thank you ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

[Flashcoders] Datagrid and Image

2006-09-24 Thread Laurent CUCHET
Im searching for datagrid exemples with images Have you got links ?? Thanks Laurent ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

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
mailing list' Subject: [Flashcoders] DataGrid woes I'm in a real bind, with no real solution. I'm using the DataGrid, which I've used before, but the problem is that multiple selection and re-ordering seems to be unbelievably broken. I've never used these features, and I've googled just about

[Flashcoders] DataGrid woes

2006-08-18 Thread Chris Hill
I'm in a real bind, with no real solution. I'm using the DataGrid, which I've used before, but the problem is that multiple selection and re-ordering seems to be unbelievably broken. I've never used these features, and I've googled just about every possibility to shed light on the subject and

[Flashcoders] Datagrid Sorting

2006-08-11 Thread Brandon Krakowsky/MTC
I have a datagrid populated with a dataprovider. I add items to the dataprovider with the following type of statement: dataprovider.addItem({u:{label:clearUser, role:clearRole}, uState:clearState, sel:false, data:l}); I can sort according to uState no problem with the following:

[Flashcoders] DataGrid Scrollbar

2006-06-17 Thread ScriptJunkies
Hey, I'm currently working on a flash app that uses a datagrid, I've come across a problem with customizing this component, Does anyone know if it's possible to change the scrollbar position?, i want there to be a gap between the datagrid and it's scrollbar, I've tried playing with the

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.

[Flashcoders] DataGrid not drawing

2006-06-13 Thread Wade Arnold
I have a datagrid behind a movieclip in a tab type layout. I populate the data grid when the application is loaded. When I show the movieclip that has the datagrid in it I have to move the scroll bar in order to get the data to display. I have tried to call draw, and invalidate and neither are

[Flashcoders] dataGrid and editable text...

2006-05-22 Thread grimmwerks
Ok if I create a datagrid and assign a dataprovider, all the datagrid components are fields, but only the first colun is editable -- I've tried doing dg.getColumnAt(2).editable = true both before and after the dataProvider set, but it's always just the first column that remains editable... what

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

2006-05-22 Thread Matthew Simpson
] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, May 22, 2006 12:52 PM To: Flashcoders mailing list Subject: [Flashcoders] dataGrid and editable text... Ok if I create a datagrid and assign a dataprovider, all the datagrid components are fields, but only the first colun is editable

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

[Flashcoders] datagrid inside an accordian

2006-05-17 Thread Rich Rodecker
I have an mc that i add to an accordian via accordian.createSegment(); the mc I attach has a datagrid inside of it, but there's two problems with it: 1. none of the items can be selected in the datagrid...no rollover events even. 2. the cell renderer I am using for one of the columns does not

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

[Flashcoders] dataGrid custom cellRender with image of external image?

2006-05-08 Thread grimmwerks
Hey all - I'm trying to script a custom cellrender with a datagrid; I'm successfully passing in the local file path of an external file, but this filepath won't work in a cellrender -- either as a loadmovie or as a Loader contentPath -- yet the same loadMovie works outside of a cellRender with no

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

2006-04-25 Thread Manuel Saint-Victor
I have a DataGrid in a Form Based Flash 8 App that when I set the global Styles for embedFonts=true lost all of its header text. Has anyone had an experience with this and is there a workaround? Thanks, Mani ___ Flashcoders@chattyfig.figleaf.com 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

  1   2   >