Re: [Flashcoders] DataGrid - Content

2005-12-15 Thread grant
t: Re: [Flashcoders] DataGrid - Content > AH! It all makes sense now. > > Thanks for your help, I really appreciate it. > > Helmut. > > Helen Triolo wrote: > > > Helmut Granda wrote: > > > >> Thanks all for your help on this. > >> > >> W

Re: [Flashcoders] DataGrid - Content

2005-12-14 Thread Helmut Granda
AH! It all makes sense now. Thanks for your help, I really appreciate it. Helmut. Helen Triolo wrote: 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

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 - Content

2005-12-14 Thread Helmut Granda
t Granda Sent: Wednesday, December 14, 2005 1:26 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] DataGrid - Content 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; iHow would I avoid crea

RE: [Flashcoders] DataGrid - Content

2005-12-14 Thread Robert Chyko
DataGrid.addColumn(newCol); If you don't get it, let me know, I can write up a quick .fla and send it to you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Wednesday, December 14, 2005 1:26 PM To: Flashcoders mailing list Subj

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; iHow would I avoid creating a new column and not getting an error from the compiler? Sorry I have been strugling with this project for a LONG time a

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: h

RE: [Flashcoders] DataGrid - Content

2005-12-14 Thread Robert Chyko
Sure, when you are setting up the Datagrid, just do not create a column for the id's. When you add a row to the Datagrid you can keep id as one of the values, but it just will not be displayed because there is no column for it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

RE: [Flashcoders] DataGrid

2005-11-21 Thread Pete Hotchkiss
al Message- 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, R

Re: [Flashcoders] DataGrid

2005-11-18 Thread Ryan Sexton
Thanks for the reply, do you know of any alternatives to the datagrid with a bit more customizing? Thank you, Ryan Sexton On Nov 18, 2005, at 5:27 PM, JesterXL wrote: She's hardcoded to 16, bro, not much you can do. - Original Message - From: "Ryan Sexton" <[EMAIL PROTECTED]> To: "Fl

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" Sent: Friday, November 18, 2005 5:15 PM Subject: [Flashcoders] DataGrid I'm playing with the DataGrid component (first time). I'm trying to set

Re: [Flashcoders] Datagrid rows - move up and down?

2005-10-07 Thread Judah Frangipane
I've been working on a drag and drop datagrid for a while now. It's compatible with the dndTree. IE use for browse window, many other things... I don't like to give estimates but I've got all the things I mentioned here working. I want to add a few more nice touches before I release it tho. Th

Re: [Flashcoders] Datagrid rows - move up and down?

2005-10-06 Thread JesterXL
function moveUp() { var index = my_dg.selectedIndex; var item = my_dg.selectedItem; my_dg.removeItemAt(index); my_dg.addItemAt(index - 1, item); } function moveDown() { var index = my_dg.selectedIndex; var item = my_dg.selectedItem; my_dg.removeItemAt(index); my_dg.

<    1   2