[flexcoders] Grid column headings
Can I remove the sort option from the column headings? In my grid (4 columns) I see "3" on the second and 4 on the third column, but nothing like it on the 1st or 4th. Both of them are renderers so I'll assume that is the reason, but I would like to verify it. All of them have the vertical line for the sort. I'd like to remove that on the first. TIA, Jerry
[flexcoders] Grid Question - column head
We are using the advance data grid component. Column heads consist of the label followed by an engineer bar followed by a number. The first column is a button and it would make no sense to sort on it. How do I eliminate the separator and the sort indicator? Jerry
Re: [flexcoders] Grid/renderer with AS
Usually, the checkbox changes some property in the dataprovider. Your code can check the value of that property. On 7/26/12 5:49 AM, "Davidson, Jerry" wrote: I realize it will be several hours before this appears, but as I’m not having much luck it will probably appear before I find the answer. I have an advancedatagrid that has a column with a check box item renderer. When it is clicked, the event is triggered, but I’m not sure how to address the box such that if it is unchecked, return. If you could, the same issue with a button. The user hasn’t decided which he likes better yet. Jerry Davidson Illinois DHS/MIS/ Client Systems/Update Unit (217) 558-2194 jerry.david...@illinois.gov -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
[flexcoders] Grid/renderer with AS
I realize it will be several hours before this appears, but as I'm not having much luck it will probably appear before I find the answer. I have an advancedatagrid that has a column with a check box item renderer. When it is clicked, the event is triggered, but I'm not sure how to address the box such that if it is unchecked, return. If you could, the same issue with a button. The user hasn't decided which he likes better yet. Jerry Davidson Illinois DHS/MIS/ Client Systems/Update Unit (217) 558-2194 jerry.david...@illinois.gov
[flexcoders] Grid | colspan | how to change dynamically
hi See the code below. On button click i want to change the grid's row 2. But the colspan does not change. I have tried all kind of invalidate... methods. How can this be done.Any pointers... Thanks ilikeflex http://www.adobe.com/2006/mxml";>
Re: [flexcoders] Grid Problems
What is the stacktrace from the error? On 4/7/10 12:27 PM, "Jeff" wrote: I have a component that creates a Grid container and adds many rows based on the data. There are instances where the whole grid/grid rows need to be redrawn. Removing all the rows and then adding rows seems to cause a TypeError deep in the flex core. I was bypass this error by deleting the rows and wrapping the function that adds the rows with callLater. However, this causes a noticeable flicker on the screen between removal and addition of rows. If anyone knows of a better way, I'd appreciate your advice. Thanks in advance. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Grid Problems
I have a component that creates a Grid container and adds many rows based on the data. There are instances where the whole grid/grid rows need to be redrawn. Removing all the rows and then adding rows seems to cause a TypeError deep in the flex core. I was bypass this error by deleting the rows and wrapping the function that adds the rows with callLater. However, this causes a noticeable flicker on the screen between removal and addition of rows. If anyone knows of a better way, I'd appreciate your advice. Thanks in advance.
[flexcoders] Grid with header sections spanning the whole grid
I need to build a DataGrid that has header rows which span the whole grid. Basically, it's an invoice and items on the invoice are grouped by type. For each group, I want to have a row which spans across the whole grid, with text that will also span across multiple columns. I am hoping I can do this with the AdvancedDataGrid control but I haven't had much luck with the key requirement of having header rows that can span multiple columns. I also don't want it to have a tree structure. Any suggestions? Thanks
Re: [flexcoders] Grid display question
Rendering entire custom rows counts as much hacking in my book ;-) -J On Thu, Apr 17, 2008 at 12:40 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >I think folks are using DataGrids with renderers that contain other > datagrids. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Wednesday, April 16, 2008 7:37 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Grid display question > > > > AFAIK, You can't do this with DataGrid without much hacking. You'll have > to cook up something custom using Grid, or use AdvancedDataGrid (which I > believe can do this, although I haven't done it). > > -J > > On Thu, Apr 17, 2008 at 9:29 AM, nathanpdaniel <[EMAIL PROTECTED]> > wrote: > > So I have a DataGrid question, needing some input. > > I have a database set up with Clients and Accounts. There are X > number of clients. Each client has Y number of Accounts. Client > one can have an unlimited number of accounts and so on. > When I load a DataGrid with Clients, I'm looking to have something > similar to what you see in MS Access. In Access, if you have > clients, and they're linked through a relationship to accounts. If > you load Clients, there's a little + sign signifying more info, you > expand that row, and rows pop up below showing Account rows > associated with the current client. > Sort of a visual below: > > Closed Row: > + Client ID | Client Info | Notes > > Open Row: > - Client ID | Client Info | Notes > Account ID | Account Info | Client ID > Account ID | Account Info | Client ID > > Hopefully this all makes sense and someone can point me in the > direction I'm looking to go. Any help would be good! :D > > Thanks- > Nathan D. > > > > > -- > "Therefore, send not to know For whom the bell tolls, It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > > -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
RE: [flexcoders] Grid display question
I think folks are using DataGrids with renderers that contain other datagrids. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, April 16, 2008 7:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Grid display question AFAIK, You can't do this with DataGrid without much hacking. You'll have to cook up something custom using Grid, or use AdvancedDataGrid (which I believe can do this, although I haven't done it). -J On Thu, Apr 17, 2008 at 9:29 AM, nathanpdaniel <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: So I have a DataGrid question, needing some input. I have a database set up with Clients and Accounts. There are X number of clients. Each client has Y number of Accounts. Client one can have an unlimited number of accounts and so on. When I load a DataGrid with Clients, I'm looking to have something similar to what you see in MS Access. In Access, if you have clients, and they're linked through a relationship to accounts. If you load Clients, there's a little + sign signifying more info, you expand that row, and rows pop up below showing Account rows associated with the current client. Sort of a visual below: Closed Row: + Client ID | Client Info | Notes Open Row: - Client ID | Client Info | Notes Account ID | Account Info | Client ID Account ID | Account Info | Client ID Hopefully this all makes sense and someone can point me in the direction I'm looking to go. Any help would be good! :D Thanks- Nathan D. -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Re: [flexcoders] Grid display question
AFAIK, You can't do this with DataGrid without much hacking. You'll have to cook up something custom using Grid, or use AdvancedDataGrid (which I believe can do this, although I haven't done it). -J On Thu, Apr 17, 2008 at 9:29 AM, nathanpdaniel <[EMAIL PROTECTED]> wrote: > So I have a DataGrid question, needing some input. > > I have a database set up with Clients and Accounts. There are X > number of clients. Each client has Y number of Accounts. Client > one can have an unlimited number of accounts and so on. > When I load a DataGrid with Clients, I'm looking to have something > similar to what you see in MS Access. In Access, if you have > clients, and they're linked through a relationship to accounts. If > you load Clients, there's a little + sign signifying more info, you > expand that row, and rows pop up below showing Account rows > associated with the current client. > Sort of a visual below: > > Closed Row: > + Client ID | Client Info | Notes > > Open Row: > - Client ID | Client Info | Notes > Account ID | Account Info | Client ID > Account ID | Account Info | Client ID > > Hopefully this all makes sense and someone can point me in the > direction I'm looking to go. Any help would be good! :D > > Thanks- > Nathan D. > > > -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]
[flexcoders] Grid display question
So I have a DataGrid question, needing some input. I have a database set up with Clients and Accounts. There are X number of clients. Each client has Y number of Accounts. Client one can have an unlimited number of accounts and so on. When I load a DataGrid with Clients, I'm looking to have something similar to what you see in MS Access. In Access, if you have clients, and they're linked through a relationship to accounts. If you load Clients, there's a little + sign signifying more info, you expand that row, and rows pop up below showing Account rows associated with the current client. Sort of a visual below: Closed Row: + Client ID | Client Info | Notes Open Row: - Client ID | Client Info | Notes Account ID | Account Info | Client ID Account ID | Account Info | Client ID Hopefully this all makes sense and someone can point me in the direction I'm looking to go. Any help would be good! :D Thanks- Nathan D.
Re: [flexcoders] Grid Editing
The way I typically do this is to have a simple form (asking for only required data) above or below the grid. When the user adds data in this form I add the new row and then clear the form. If you don't want the form visible at all times use an mx:state to hide it until the user gestures that they want to add data... then hide it again after the data is added. Note: If you want even simpler just put an add button near the form, or context menu item, etc. then add the new row with dummy values when clicked. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com yourName wrote: I have a flex grid with editable="true" but the problem is i can only edit data in the grid but can not add entire new row to the grid how can i do this . empty cells r always un-editbale how can make thses cells editable as well plz help me..
[flexcoders] Grid Editing
I have a flex grid with editable="true" but the problem is i can only edit data in the grid but can not add entire new row to the grid how can i do this . empty cells r always un-editbale how can make thses cells editable as well plz help me..
Re: [flexcoders] Grid lines in TileList
Fair enough. I don't have one yet, but I most certainly will. Thanks. On 11/12/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > Have the renderer draw borders? > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Rodseth > Sent: Monday, November 12, 2007 3:32 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Grid lines in TileList > >> > Darn. Any suggestions for the 2-d dashboard-style grid I'm doing? I've > played around with PlotChart, but it wants numeric axes, which I > suppose I could fudge now that I'm building an adapted model. > > The TileList is working OK, but I tried alternating colours, and they > appear vertically no matter what I set the "direction" to. > > I've also had some success with nested repeaters, but always worry > about the overhead, though in this case the data set won't be very > large. > > Doing a DG with a data-driven number of columns looked harder, but > maybe I'm missing something simple. > > On 11/12/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > Yes. Only DG has this style. > > > > Am I correct that there is no style property to enable grid lines in a > > TileList? > > > > > >
RE: [flexcoders] Grid lines in TileList
Have the renderer draw borders? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, November 12, 2007 3:32 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Grid lines in TileList Darn. Any suggestions for the 2-d dashboard-style grid I'm doing? I've played around with PlotChart, but it wants numeric axes, which I suppose I could fudge now that I'm building an adapted model. The TileList is working OK, but I tried alternating colours, and they appear vertically no matter what I set the "direction" to. I've also had some success with nested repeaters, but always worry about the overhead, though in this case the data set won't be very large. Doing a DG with a data-driven number of columns looked harder, but maybe I'm missing something simple. On 11/12/07, Alex Harui <[EMAIL PROTECTED] <mailto:aharui%40adobe.com> > wrote: > > > Yes. Only DG has this style. > > Am I correct that there is no style property to enable grid lines in a > TileList? >
Re: [flexcoders] Grid lines in TileList
I was also having trouble getting rotated labels on a PlotChart - if anyone has an example of that, I'd love to see it. On 11/12/07, Richard Rodseth <[EMAIL PROTECTED]> wrote: > Darn. Any suggestions for the 2-d dashboard-style grid I'm doing? I've > played around with PlotChart, but it wants numeric axes, which I > suppose I could fudge now that I'm building an adapted model. > > The TileList is working OK, but I tried alternating colours, and they > appear vertically no matter what I set the "direction" to. > > I've also had some success with nested repeaters, but always worry > about the overhead, though in this case the data set won't be very > large. > > Doing a DG with a data-driven number of columns looked harder, but > maybe I'm missing something simple. > > On 11/12/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > Yes. Only DG has this style. > > > > Am I correct that there is no style property to enable grid lines in a > > TileList? > > >
Re: [flexcoders] Grid lines in TileList
Darn. Any suggestions for the 2-d dashboard-style grid I'm doing? I've played around with PlotChart, but it wants numeric axes, which I suppose I could fudge now that I'm building an adapted model. The TileList is working OK, but I tried alternating colours, and they appear vertically no matter what I set the "direction" to. I've also had some success with nested repeaters, but always worry about the overhead, though in this case the data set won't be very large. Doing a DG with a data-driven number of columns looked harder, but maybe I'm missing something simple. On 11/12/07, Alex Harui <[EMAIL PROTECTED]> wrote: > > > Yes. Only DG has this style. > > Am I correct that there is no style property to enable grid lines in a > TileList? >
RE: [flexcoders] Grid lines in TileList
Yes. Only DG has this style. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, November 12, 2007 12:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid lines in TileList Am I correct that there is no style property to enable grid lines in a TileList?
[flexcoders] Grid lines in TileList
Am I correct that there is no style property to enable grid lines in a TileList?
RE: [flexcoders] Grid editor not being reused
Only renderers are recycled. We might recycle editors someday, but not in 3.0 either. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Tuesday, October 16, 2007 11:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid editor not being reused (Using FB3B2) I have a custom control I am using to edit a cell in a grid. I check it in the debugger every time I click in to the cell and a watch expression of "this" has a different "@" number, does this indcate as I think that it is a new instance being created every time. I though editors were supposed to be pooled or is this only cell renderers? tks
[flexcoders] Grid editor not being reused
(Using FB3B2) I have a custom control I am using to edit a cell in a grid. I check it in the debugger every time I click in to the cell and a watch expression of "this" has a different "@" number, does this indcate as I think that it is a new instance being created every time. I though editors were supposed to be pooled or is this only cell renderers? tks
RE: [flexcoders] Grid columns of fixed and equal width
My sincere apologies for disappearing for an extended period. Too many projects going on... I have not used hard numbers, because I need the whole thing to resize properly and I don't want to have to get into "knowing" about the grid cell spacings. Hence I've been using percentage widths. I've seen a couple of funky things going on, although I am now closer to a solution than I was when I first posted here. One of the root problems, I think, is that *I* know how many columns my grid is supposed to have, but there doesn't appear to be any way to tell the grid that. What I mean is that I want, for example, a 3 column layout, but the grid itself only knows about cells of particular widths and colSpans. I've had problems with thirds of the width not turning out to be thirds after all, and the existing column widths resizing when I add new cells on new rows. However, I seem to be _mostly_ past that now. The remaining issue I'm seeing is also very strange. I added a capability to collapse and expand the cells in my grid using view states, with only a SetProperty to change the height. But when the cell is collapsing or expanding, all of the cells in that row move over to the left by some amount (roughly the same width as a scrollbar, I would guess), then the collapse / expand happens, and then the cells shift back. What's that all about?? Thanks! -- Martin Cooper From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Saturday, April 14, 2007 12:49 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Grid columns of fixed and equal width What happened when you gave each column the same fixed width? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 13, 2007 9:30 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Grid columns of fixed and equal width Pretty please? Even a response telling me that it's a bonehead question and I'm a dolt for asking would tell me _something_. ;-) Thanks! -- Martin Cooper From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid columns of fixed and equal width What is the "right" way to create a Grid that has a fixed number of columns of equal width? What I need is a fixed 3-column layout to which I can dynamically add cells. Regardless of the content of the cells, the column widths should remain the same. Also, the columns would need to resize when the Grid is resized. I'm basing this on the Grid layout because I also need the column spanning capability that Grid gives me. Any hints would be a great help in getting me going. For extra bonus points ... what I *really* want is something more like three VBoxes of equal width, so that the contents are not forced to align vertically, as with a Grid, but where I also get the column spanning that a Grid gives me. (This is more like newspaper layout, except that I don't care about content flowing from one column to the next.) However working with a Grid will get me going for now. Thanks very much! -- Martin Cooper
RE: [flexcoders] Grid columns of fixed and equal width
What happened when you gave each column the same fixed width? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, April 13, 2007 9:30 AM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Grid columns of fixed and equal width Pretty please? Even a response telling me that it's a bonehead question and I'm a dolt for asking would tell me _something_. ;-) Thanks! -- Martin Cooper From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:41 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Grid columns of fixed and equal width What is the "right" way to create a Grid that has a fixed number of columns of equal width? What I need is a fixed 3-column layout to which I can dynamically add cells. Regardless of the content of the cells, the column widths should remain the same. Also, the columns would need to resize when the Grid is resized. I'm basing this on the Grid layout because I also need the column spanning capability that Grid gives me. Any hints would be a great help in getting me going. For extra bonus points ... what I *really* want is something more like three VBoxes of equal width, so that the contents are not forced to align vertically, as with a Grid, but where I also get the column spanning that a Grid gives me. (This is more like newspaper layout, except that I don't care about content flowing from one column to the next.) However working with a Grid will get me going for now. Thanks very much! -- Martin Cooper
RE: [flexcoders] Grid columns of fixed and equal width
Pretty please? Even a response telling me that it's a bonehead question and I'm a dolt for asking would tell me _something_. ;-) Thanks! -- Martin Cooper From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 11:41 AM To: [EMAIL PROTECTED] Subject: [flexcoders] Grid columns of fixed and equal width What is the "right" way to create a Grid that has a fixed number of columns of equal width? What I need is a fixed 3-column layout to which I can dynamically add cells. Regardless of the content of the cells, the column widths should remain the same. Also, the columns would need to resize when the Grid is resized. I'm basing this on the Grid layout because I also need the column spanning capability that Grid gives me. Any hints would be a great help in getting me going. For extra bonus points ... what I *really* want is something more like three VBoxes of equal width, so that the contents are not forced to align vertically, as with a Grid, but where I also get the column spanning that a Grid gives me. (This is more like newspaper layout, except that I don't care about content flowing from one column to the next.) However working with a Grid will get me going for now. Thanks very much! -- Martin Cooper
[flexcoders] Grid columns of fixed and equal width
What is the "right" way to create a Grid that has a fixed number of columns of equal width? What I need is a fixed 3-column layout to which I can dynamically add cells. Regardless of the content of the cells, the column widths should remain the same. Also, the columns would need to resize when the Grid is resized. I'm basing this on the Grid layout because I also need the column spanning capability that Grid gives me. Any hints would be a great help in getting me going. For extra bonus points ... what I *really* want is something more like three VBoxes of equal width, so that the contents are not forced to align vertically, as with a Grid, but where I also get the column spanning that a Grid gives me. (This is more like newspaper layout, except that I don't care about content flowing from one column to the next.) However working with a Grid will get me going for now. Thanks very much! -- Martin Cooper
RE: [flexcoders] grid header becomes invisible while scroll
Does it reproduce with fewer columns? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Thursday, March 29, 2007 5:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] grid header becomes invisible while scroll Hi All, I am using a grid with 22 columns all are rendered... the problem, I am facing here is that my header becomes invisible when I scroll the grid wethr I scroll vertically/ horizontally... I couldnt find the solution.. kinldy suggest. Thanks in advance... Sanjay
[flexcoders] grid header becomes invisible while scroll
Hi All, I am using a grid with 22 columns all are rendered... the problem, I am facing here is that my header becomes invisible when I scroll the grid wethr I scroll vertically/ horizontally... I couldnt find the solution.. kinldy suggest. Thanks in advance... Sanjay
RE: [flexcoders] Grid
It sounds like your issue is communicating between components (and the main app). In your case, I suspect you will need to, in the component, do something like: var oSelectedItem:Object = mx.core.Application.application.myComboBoxId.selectedItem; Also see this example: http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=159 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hitch_nj Sent: Wednesday, June 14, 2006 2:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid Hi, I am new to Flex, and am having this problem. Would really appreciate if anyone can help me. Overview: I have an excel sheet which I need to replicate in Flex 1.5. There is a checkbox, a ComboBox and lots of cells with data. Issue: I tried using the tag to populate the cells, and was successfull partially, till I got an error like this: A function in the code exceeds the 64K byte limit (actual size = '74071'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document. This was when all hell broke loose. I have some colleagues who have worked on Flex and they told me that I can overcome this problem if I include another mxml file in the parent. I tried that, but now the issue is that my parent file refers to an actionScript file. The ComboBox is in the parent and I am refering to it in the child so the .as file gives me errors. I can go on forever, but someone suggested me to create my custom Grid, and I have no idea how to do that. Could anyone please tell me what I can do. Thanks in advance. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Grid
I think this is known problem with Flex 1.5, check the FAQ list http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt. On the other hand, I ran once into this and I actually created AS classes for a couple of the functions that I had in my mxml file. Another option is what your colleagues are suggesting which is creating a components. If you are having problems with that, you can check the online docs and see the examples on mxml components. I remember that they have a very basic comboBox component which is easy to understand. |-+-> | | | | | "hitch_nj" | | | <[EMAIL PROTECTED]| | | m> | | | Sent by: | | | flexcoders@yahoogroups.com | | | 06/14/2006 02:56 PM| | | Please respond to flexcoders | | | | |-+-> >-| | | | To: flexcoders@yahoogroups.com | | cc: | | Subject: [flexcoders] Grid | >-| Hi, I am new to Flex, and am having this problem. Would really appreciate if anyone can help me. Overview: I have an excel sheet which I need to replicate in Flex 1.5. There is a checkbox, a ComboBox and lots of cells with data. Issue: I tried using the tag to populate the cells, and was successfull partially, till I got an error like this: A function in the code exceeds the 64K byte limit (actual size = '74071'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document. This was when all hell broke loose. I have some colleagues who have worked on Flex and they told me that I can overcome this problem if I include another mxml file in the parent. I tried that, but now the issue is that my parent file refers to an actionScript file. The ComboBox is in the parent and I am refering to it in the child so the .as file gives me errors. I can go on forever, but someone suggested me to create my custom Grid, and I have no idea how to do that. Could anyone please tell me what I can do. Thanks in advance. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~--> You can search right from your browser? It's easy and it's free. See how. http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Grid
How about a replicator in a scroller? I’m using this to display a checkbox next to contact information in a list. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hitch_nj Sent: Wednesday, June 14, 2006 12:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid Hi, I am new to Flex, and am having this problem. Would really appreciate if anyone can help me. Overview: I have an excel sheet which I need to replicate in Flex 1.5. There is a checkbox, a ComboBox and lots of cells with data. Issue: I tried using the tag to populate the cells, and was successfull partially, till I got an error like this: A function in the code exceeds the 64K byte limit (actual size = '74071'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document. This was when all hell broke loose. I have some colleagues who have worked on Flex and they told me that I can overcome this problem if I include another mxml file in the parent. I tried that, but now the issue is that my parent file refers to an actionScript file. The ComboBox is in the parent and I am refering to it in the child so the .as file gives me errors. I can go on forever, but someone suggested me to create my custom Grid, and I have no idea how to do that. Could anyone please tell me what I can do. Thanks in advance. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Grid
Try looking at the custom cell renderer examples to get checkbox and comboboxes in your datagrid by running the ‘samples’ webapp that comes with the Flex installation (of checking it out at the bottom of this page: http://www.adobe.com/devnet/flex/example_apps.html) or you can read about it all in the examples in the documentation here: http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm and click on search and searching for ‘custom cell renderer’ Or at richinternetapp.com here: http://www.richinternetapps.com/archives/72.html for a great combobox cell renderer example. Hope that helps. robert l. brueckmann vice president merlin securities 595 madison avenue new york, ny 10022 p: 212.822.4821 f: 212.822.4820 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hitch_nj Sent: Wednesday, June 14, 2006 2:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid Hi, I am new to Flex, and am having this problem. Would really appreciate if anyone can help me. Overview: I have an excel sheet which I need to replicate in Flex 1.5. There is a checkbox, a ComboBox and lots of cells with data. Issue: I tried using the tag to populate the cells, and was successfull partially, till I got an error like this: A function in the code exceeds the 64K byte limit (actual size = '74071'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document. This was when all hell broke loose. I have some colleagues who have worked on Flex and they told me that I can overcome this problem if I include another mxml file in the parent. I tried that, but now the issue is that my parent file refers to an actionScript file. The ComboBox is in the parent and I am refering to it in the child so the .as file gives me errors. I can go on forever, but someone suggested me to create my custom Grid, and I have no idea how to do that. Could anyone please tell me what I can do. Thanks in advance. This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
[flexcoders] Grid
Hi, I am new to Flex, and am having this problem. Would really appreciate if anyone can help me. Overview: I have an excel sheet which I need to replicate in Flex 1.5. There is a checkbox, a ComboBox and lots of cells with data. Issue: I tried using the tag to populate the cells, and was successfull partially, till I got an error like this: A function in the code exceeds the 64K byte limit (actual size = '74071'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document. This was when all hell broke loose. I have some colleagues who have worked on Flex and they told me that I can overcome this problem if I include another mxml file in the parent. I tried that, but now the issue is that my parent file refers to an actionScript file. The ComboBox is in the parent and I am refering to it in the child so the .as file gives me errors. I can go on forever, but someone suggested me to create my custom Grid, and I have no idea how to do that. Could anyone please tell me what I can do. Thanks in advance. Yahoo! Groups Sponsor ~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM ~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Grid Creation from XML
On 5/21/05, Jae Hess <[EMAIL PROTECTED]> wrote: > I have a Grid that i am using RowSpan and Colspan with the GridItem's. > I am curious if there is any way to Create this Grid dynamically from > XML data? Try using a Repeater and putting GridItem's inside that. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Grid Creation from XML
> Is it possible to create GridRows and GridItems via Actionscript? Yes, you can see the following sample code. > I have a Grid that I am using RowSpan and Colspan with the GridItem's. > I am curious if there is any way to Create this Grid dynamically from > XML data? Or is there a way that i can achieve Colspan type formatting > in a DataGrid? Grid from XML will not be generated automatically, but you can write your logic to parse XML and add GridRow/GridItem as required. No, DataGrid doesn't support ColSpan type formatting, but can it be achieved by writing custom row renderer? ##DynamicGrid.mxml## http://www.macromedia.com/2003/mxml"; creationComplete="createGrid()"> -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jae Hess Sent: Saturday, May 21, 2005 2:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid Creation from XML Is it possible to create GridRows and GridItems via Actionscript? I have a Grid that i am using RowSpan and Colspan with the GridItem's. I am curious if there is any way to Create this Grid dynamically from XML data? Or is there a way that i can achieve Colspan type formatting in a DataGrid? Thanks in Advance -Jae Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Grid Creation from XML
Is it possible to create GridRows and GridItems via Actionscript? I have a Grid that i am using RowSpan and Colspan with the GridItem's. I am curious if there is any way to Create this Grid dynamically from XML data? Or is there a way that i can achieve Colspan type formatting in a DataGrid? Thanks in Advance -Jae Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] grid does not occupy all of TabNavigator container ?
I don't have a perfect solution yet, but the DataGrid is getting clipped by the Application container, which extends Box. You can set a width="700" on your Positions.mxml Application container and you will see the whole DataGrid. However, this may not be perfect since you might want a percentage value there. I think that I read something one that Loaded apps default to around 400 wide. I will try to get see if I can get a non-hardcoded width working. BTW: Is there a reason you are using Loader instead of just doing this: -James > > > I will pay $20 to the first person who can solve this problem !! > > Please look at this code: > http://www.geocities.com/sanjayd.rm/freelance/positionsRepoRates.zip > > when you bring up the application using via 'Main.mxml', > the grid in the 'Positions.mxml' app does not show all the columns ! > The last column is clipped..any idea why ? > Thanks in advance. Sanjay. > > I will pay $20 to the first person who can solve this problem !! > > > > > > > Yahoo! Groups Links > > > > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] grid does not occupy all of TabNavigator container ?
I will pay $20 to the first person who can solve this problem !! Please look at this code: http://www.geocities.com/sanjayd.rm/freelance/positionsRepoRates.zip when you bring up the application using via 'Main.mxml', the grid in the 'Positions.mxml' app does not show all the columns ! The last column is clipped..any idea why ? Thanks in advance. Sanjay. I will pay $20 to the first person who can solve this problem !! Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Grid Header ContextMenu
Hi, We only support context-menus at application level only, not to any children of application or to nested objects. However you can add context-menu items to TextInput, TextArea or anything that uses a Flash TextField. Hopefully, in future context-menu would be supported for nested objects. But there is workaround, you can add/remove context menu items to main context menu depending upon where mouse pointer isSo if user right clicks on header, you can detect that mouse pointer is on datagrid header and add context menu items... Does it make sense? -abdul -Original Message- From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 5:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Grid Header ContextMenu Hi, How do I create a context menu for my Header in a grid? I have a HeaderRenderer and tried to cast it to a MovieObject and set the menu attribute, however this did not work. Thanks. - viraf Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Grid Header ContextMenu
Hi, How do I create a context menu for my Header in a grid? I have a HeaderRenderer and tried to cast it to a MovieObject and set the menu attribute, however this did not work. Thanks. - viraf Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Grid alignment
Title: Message Sounds good Senior Webster. :-) I'll look @ it right now and will definitely try harder on my layouts. Thx! -Original Message-From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 10:01 AMTo: flexcoders@yahoogroups.comSubject:RE: [flexcoders] Grid alignment Hi John, Try and avoid using the grid to do HTML like layout tricks; instead, think a little harder about how you can achieve your layout with the other layout containers and with spacers. In "Developing Rich Clients with Macromedia Flex" (the flex book) we have a section on MXML Refactorings ... in fact, I just remember that I did a presentation on some of this stuff at IBM in Amsterdam, and it's up as a Breeze presentation here: http://www.richinternetapps.com/archives/000100.html Take a look through that presentation... Best, Steven From: John C. Bland II [mailto:[EMAIL PROTECTED] Sent: 12 February 2005 16:56To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid alignment Ok coo Steven. I'll give that a look. I started to ask the question if using Grids was like using tables in html. Should I only use them for data layout (row duplication)? -Original Message-From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 3:27 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid alignment I'm using a grid for layout purposes and can't seem to get one of my items to align right. I basically want two items on the same row but one of them aligned right and one aligned left (labels). Hey John - this is what we'd call a "bad code smell" and is one of the MXML Refactorings we talk about. Rather than use a grid to achieve your layout (grids can be quite an expensive component for the layout manager to deal with) why don't you look into the component and play with widths, so that you can have the Spacer consume all the space necessary to push your rightmost component to the far right...? ie: Make sense ? Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. ---Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.853 / Virus Database: 581 - Release Date: 01/02/2005
RE: [flexcoders] Grid alignment
Title: Message Hi John, Try and avoid using the grid to do HTML like layout tricks; instead, think a little harder about how you can achieve your layout with the other layout containers and with spacers. In "Developing Rich Clients with Macromedia Flex" (the flex book)we have a section on MXML Refactorings ... in fact, I just remember that I did a presentation on some of this stuff at IBM in Amsterdam, and it's up as a Breeze presentation here: http://www.richinternetapps.com/archives/000100.html Take a look through that presentation... Best, Steven From: John C. Bland II [mailto:[EMAIL PROTECTED] Sent: 12 February 2005 16:56To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid alignment Ok coo Steven. I'll give that a look. I started to ask the question if using Grids was like using tables in html. Should I only use them for data layout (row duplication)? -Original Message-From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 3:27 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid alignment I'm using a grid for layout purposes and can't seem to get one of my items to align right. I basically want two items on the same row but one of them aligned right and one aligned left (labels). Hey John - this is what we'd call a "bad code smell" and is one of the MXML Refactorings we talk about. Rather than use a grid to achieve your layout (grids can be quite an expensive component for the layout manager to deal with) why don't you look into the component and play with widths, so that you can have the Spacer consume all the space necessaryto push your rightmost component to the far right...? ie: Make sense ? Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibilityfor any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. ---Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.853 / Virus Database: 581 - Release Date: 01/02/2005
RE: [flexcoders] Grid alignment
Title: Message Ok coo Steven. I'll give that a look. I started to ask the question if using Grids was like using tables in html. Should I only use them for data layout (row duplication)? -Original Message-From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 3:27 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Grid alignment I'm using a grid for layout purposes and can't seem to get one of my items to align right. I basically want two items on the same row but one of them aligned right and one aligned left (labels). Hey John - this is what we'd call a "bad code smell" and is one of the MXML Refactorings we talk about. Rather than use a grid to achieve your layout (grids can be quite an expensive component for the layout manager to deal with) why don't you look into the component and play with widths, so that you can have the Spacer consume all the space necessary to push your rightmost component to the far right...? ie: Make sense ? Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
RE: [flexcoders] Grid alignment
Title: Message I'm using a grid for layout purposes and can't seem to get one of my items to align right. I basically want two items on the same row but one ofthem aligned right and one aligned left (labels). Hey John - this is what we'd call a "bad code smell" and is one of the MXML Refactorings we talk about. Rather than use a grid to achieve your layout (grids can be quite an expensive component for the layout manager to deal with) why don't you look into the component and play with widths, so that you can have the Spacer consume all the space necessary to push your rightmost component to the far right...? ie: Make sense ? Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies ofit, immediately. Please also note that while software systems havebeen used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.