chrisz
17 Mar 2009, 7:48 AM
I'm just starting with ExtJS and was hoping for some suggestions from veterans. I have a LAMP, and need to implement a basic DB interface. However some of the data needs to be represented '3D' rather than a straight 2D matrix.
For example, assume a "Workers" DB table and an "Attributes" DB table. Workers are defined by Name, Dept, Phone#... and they have a 0-to-many relationship to Attributes.
Name | Dept | Phone# | Attributes
bob | r&d | xxx-xxxx | tall, happy
sally | hr | xxx-xxxx |
hulk | acc't | xxx-xxxx | huge, green, mad
In practice, the attribute list for each 'worker' can be quite large. I'd like to display some sort of matrix for Name | Dept | Phone#, and then on an event (click, mouseover, etc) Ajax the attributes and display them as well. Of course I also want to *edit* the records & corresponding attributes... so I can't really just concatenate the the attributes & dump them into a single display element.
Does anyone have UI design suggestions on how to display, and then edit, data like this? Maybe the "Grid Data Binding" thingy or the "Binding Grid to Form" doohicky?
Thanks much
For example, assume a "Workers" DB table and an "Attributes" DB table. Workers are defined by Name, Dept, Phone#... and they have a 0-to-many relationship to Attributes.
Name | Dept | Phone# | Attributes
bob | r&d | xxx-xxxx | tall, happy
sally | hr | xxx-xxxx |
hulk | acc't | xxx-xxxx | huge, green, mad
In practice, the attribute list for each 'worker' can be quite large. I'd like to display some sort of matrix for Name | Dept | Phone#, and then on an event (click, mouseover, etc) Ajax the attributes and display them as well. Of course I also want to *edit* the records & corresponding attributes... so I can't really just concatenate the the attributes & dump them into a single display element.
Does anyone have UI design suggestions on how to display, and then edit, data like this? Maybe the "Grid Data Binding" thingy or the "Binding Grid to Form" doohicky?
Thanks much