This content has been marked as final. Show 4 replies
Just to show how serious I am, all of these tutorials mention xml:
Can anyone refer me to a tutorial or documentation that describes binding a dataSet to a dataGridin the absence of a schema? or perhaps a schema tutorial?
maybe this can give you some ideas: http://www.sephiroth.it/tutorials/flashPHP/pageable_recordset/. I'm not really into Datasets and schemas, but I noticed there's no xml involved in that tutorial.
That *is* a very interesting article. Unfortunately, it doesn't mention anything about DataSets. I haven't had any trouble getting my data into my flash application. I've also been able to put it into a DataGrid pretty easily (although not quite as elegantly as that example did).
The problem is that I'm having issues when I introduce a DataSet for filtering. I can't get the data from the DataSet into the DataGrid like I want it. I haven't been able to hide the 'id' column of my data and the column names unfortunately are *exactly* what the Object property names are. I was hoping to put user-friendly column headers on their like 'Product Name' rather than 'name' or 'Style Number' rather than 'styleNumber'.
Also, the concept of a schema is still somewhat beyond me. I tried changing the schema for my productDataSet to this and I got the data to display. I added 'name, 'styleNumber', and 'id'
<-->dataProvider : Array
<-->deltaPacket : DeltaPacket
<-->items : Array
<-->name : String
<-->id : Integer
I have tried radically different shemas (schemae?) that seem to also get the data in there but I don't really understand what i'm doing here and I feel like I'm asking for trouble not knowing how this stuff really works.
And, like I said before, i want to hide certain information that's in the DataSet so that it doesn't get displayed. I'd also like to Have some user-friendly names rather than the actual field/property identifiers.
I put the answer to this question in your other post concerning amfphp ;)