Re: Building Spark DataGrid dynamically

2013-07-25 Thread Oleg Konovalov
Full exception trace with numbers: TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\ dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\G ridLayout.as:867]

Re: Building Spark DataGrid dynamically

2013-07-24 Thread Oleg Konovalov
It is Flex 4.5.1 (client requirement :-( ) I will send full trace with numbers tomorrow. No, I haven't tried Flex 4.9-4.10 yet. Thanks, Oleg. On Thu, Jul 25, 2013 at 12:20 AM, Justin Mclean wrote: > HI, > > What version of the SDK are you using? Does teh same happen using 4.9.1 or > 4.10 (ha

Re: Building Spark DataGrid dynamically

2013-07-24 Thread OmPrakash Muppirala
On Wed, Jul 24, 2013 at 9:20 PM, Justin Mclean wrote: > HI, > > What version of the SDK are you using? Does teh same happen using 4.9.1 or > 4.10 (has been a large number of RTE fixes in 4.10). Can you post a full > stack trace with line numbers? > > Thanks, > Justin Justin, please respond to t

Re: Building Spark DataGrid dynamically

2013-07-24 Thread Justin Mclean
HI, What version of the SDK are you using? Does teh same happen using 4.9.1 or 4.10 (has been a large number of RTE fixes in 4.10). Can you post a full stack trace with line numbers? Thanks, Justin

Re: Building Spark DataGrid dynamically

2013-07-24 Thread OmPrakash Muppirala
Moving topic to "users" list. Oleg, you will get a better response in this forum for questions like these. Please make sure you are subscribed to us...@flex.apache.org to see further responses. You could do so by sending an email to users-subscr...@flex.apache.org. Thanks, Om On Wed, Jul 24, 2

Building Spark DataGrid dynamically

2013-07-24 Thread Oleg Konovalov
Hi, I am building a screen with one Static DataGrid and one Dynamic (data comes through SOAP and I do not know the number of columns or their names in advance). I also get a list of column names in order from another SOAP call. That Dynamic DataGrid works (converting data from Vector of Objects t

Re: Building Spark Datagrid dynamically

2013-07-05 Thread Oleg Konovalov
I will try that. I also need to be able to edit data with unknown number and names of columns on Flex4 Form. Any idea how to do it? Code sample? TIA, Oleg On Jul 4, 2013 6:33 PM, "OmPrakash Muppirala" wrote: > (Please use dev@flex.apache.org for posting on this list) > > Spark DataGrid has supp

Re: Building Spark Datagrid dynamically

2013-07-04 Thread OmPrakash Muppirala
(Please use dev@flex.apache.org for posting on this list) Spark DataGrid has support to automatically add the column based on the given dataProvider. You can declare a Spark DataGrid and just give it a dataprovider. The columns should appear automatically. As for the column lengths, you could s

Building Spark Datagrid dynamically

2013-07-04 Thread Oleg Konovalov
Hi, I am getting data from the database via XML (SOAP Web Service), and in that case I don't know number of columns or their names. Need to display them in Spark DataGrid (and allow user to add, edit, delete rows). The complication I see here is that in that project there is Parsley + proprietary