PDA

View Full Version : grid formatting ability?



gfioravanti
18 Nov 2010, 11:53 AM
Were investigating the possibility of using the ExtJS grid for a product listing. Can the grid handle images, buttons and formatted HTML text? Could we make each row look similar to this?

https://lh3.googleusercontent.com/1bEvrE1bBzRoRjPFO2x-sQ7wsfJahhaLv9keE42rWP3oU2IH4uTbv_24VATZhNeWTR80dC-cIBIYXaYcd8AjutQiZOLUxjjYnqeorMlKbFpL7rog


And then ideally, we could use the drag and drop between grids functionality for a drag n drop shopping cart (or use buttons)

Is this possible? Has anyone ever used the grid in this way?

Screamy
18 Nov 2010, 12:46 PM
To answer your questions: yes, yes, yes and yes.

Visit the demos and in particular, check out the "Paging" grid demo. It shows how the body of each grid row can be extended to incorporate your own layout. The demo doesn't include any images, but they can easily be added.

http://dev.sencha.com/deploy/dev/examples/#sample-4

mitchellsimoens
18 Nov 2010, 2:53 PM
May want a DataView instead. Just saying :-)