|
|
|
#1 |
|
Vishal
Join Date: Aug 2007
Posts: 15
|
Fetch data from Datagrid Row
Hello AGo,
I am currently using the trial version of the SQLite Connector but I have tested this on the licenced version owned by my company and the problem persists. Database used : World DB (From the SQLite Connector Example) Database Table : City I have no problem in populating the data in the DataGrid (using dataProvider) On selecting an individual row in the DataGrid, the data shows up in the text fields, one each for ID, Name, CountryCode, District & Population. The problem I am facing is....the "Population" field i.e. the last column of the database table, always shows up as undefined. Method being followed DataGridinstance.selectedItem.columnName In fact the last column of the database table always shows up as undefined in the text field even though its value can be seen in the datagrid. The same happens with other database tables and other databases also. Thanks in advance. |
|
|
|
|
|
#2 |
|
Plugin Developer
Join Date: Jun 2002
Location: Germany
Posts: 2,409
|
Have you tried it with the SQlite.as class I have sticked here?
Just recompile your App with that class and it should now work for all columns. If you have modified your SQlite class let me know and I´ll tell you what you have to change. There was a a little bug in the AS parsing code which is propably responsible for what you are seeing. |
|
|
|
|
|
#3 | |
|
Vishal
Join Date: Aug 2007
Posts: 15
|
Quote:
Am I missing something..... |
|
|
|
|
|
|
#4 |
|
Plugin Developer
Join Date: Jun 2002
Location: Germany
Posts: 2,409
|
|
|
|
|
|
|
#5 |
|
Vishal
Join Date: Aug 2007
Posts: 15
|
Thanks.....It's working.
|
|
|
|