I am using the FlexPrintJob() class to print a datagrid. I'm using a
custom component to create the Print view and inside I have a
PrintDataGrid component. The dataProvider of this PrintDataGrid is
filled with the dataProvider from my main application.
I have a labelfunction that the main
I was having the same issue as well. I think it had to do with some of
my columns showing up when they were set to be hidden. The error
seemed to happen when I would edit a column in the grid while those
hidden columns were showing up.
I ended up going back to 2.0 since I didn't get those errors
Call.
Ben
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Friday 05 January:32, bsdensmore wrote:
My datagrid has a few columns that have visible=false but they are
still showing up.
I'm seeing this.
I recompile the exact same code against the 2.0 SDK
I just upgraded my windows version to 2.0.1. All went well but there
is one very odd issue.
My datagrid has a few columns that have visible=false but they are
still showing up. And a few of my fields that I have set
editable=false are allowing me to go into and edit.
Anyone else run into this?
The application I'm currently working on uses a datagrid that can
sometimes contain 100's of rows. All of these rows need to be inserted
or updated in our database when editing.
I'm finding that if there is a large amount of data, doing the inserts
can take forever and Flex eventually times out.
I'm trying to use the itemEditBeginning event on a datagrid to only
allow a column to be editable if the person clicks on it, if they tab
to it I need to kick them out of the column.
I can't figure out how I can get access to the keycode since the
itemEditBeginning event is a DataGridEvent and
Does anyone know of a good way to skip over an editable cell in a
datagrid while tabbing?
I thought I could have an event listener that takes a KEY_UP trigger
on the event and look to see if the keycode was equal to 9 which is
the tab key and look to see which column they were in, and if they
Hi Gaurav,
Ed Eustace wrote a Validator to handle this. He sent me a copy but I
haven't had a chance to use it yet. I'll be putting it into my app in
the next day or so. If you want I can send it to you. Just email me at
bsdensmore[at]yahoo[dot]com.
Ben
--- In flexcoders@yahoogroups.com
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do.
I'm just doing a very small example to get my head
Dimitrios,
How do you use this? I'm trying to pass in 2 dates from a textInput
but when I try to use the displayDate() method to format the dates and
pass them into the compareDates() method it complains about the data
types.
This is what I'm trying to do:
private function compareDates():void
{
Nevermind,
My brain is fried from trying to figure out my itemrenderer issue. I
was looking at the code wrong. All set.
Thanks,
Ben
--- In flexcoders@yahoogroups.com, bsdensmore [EMAIL PROTECTED] wrote:
Dimitrios,
How do you use this? I'm trying to pass in 2 dates from a textInput
but when
: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Wednesday, November 29, 2006 5:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can't get value after labelfunction
I have 2 DataGridColumns that use a labelfunction to multiply a couple
[mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 8:32 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
Thanks Ben and Tracy,
I was thinking that I might need to use an item renderer but was
hoping to not have
Check out this blog entry. It shows you how to prevent that.
http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/
--- In flexcoders@yahoogroups.com, Yasovardhan Babu
[EMAIL PROTECTED] wrote:
Hi,
I have an issue with datagrid scrolling.
If one of the
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bsdensmore
Sent: Thursday, November 30, 2006 1:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
I keep going in circles with this. If I don't use the ClassFactory I
can
Of bsdensmore
Sent: Thursday, November 30, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can't get value after labelfunction
yes, they do.
I'm just doing a very small example to get my head around this. I
actually took the ClassFactory stuff out and went
I have 2 DataGridColumns that use a labelfunction to multiply a couple
of fields and display the value in another column. For some reason
after the field is updated with the total I can't get at that value.
The dataProvider that the DataGrid is bound to is a query result that
is converted to an
a labelfunction will do the calculations as you tab through the fields
or as change rows on the grid.
I use this to do some calculations and it works great.
private function calcAdjAmount(item:Object,column:DataGridColumn):String {
var adjustedAmt:Number;
I have a DataGrid column that is using an itemRenderer to place a
checkbox in the Grid. This will allow someone to select multiple rows
to delete. I'm slowly starting to understand how to implement an
itemRenderer but still unclear on a couple of things.
After the user selects the rows they want
19 matches
Mail list logo