PDA

View Full Version : What is Difference between ListView and GridPanel?



quangnd
15 Oct 2010, 7:36 PM
I see that both have column, can assign Store to ...
And I do not nkow why both exist?
I am a newbie to extjs.

Animal
15 Oct 2010, 10:50 PM
GridPanel does everything. Sorting, column moving, column hiding, column resizing, column renderers. It has a subclass EditorGridPanel which allows cell-by-cell editing of the values.

It's very capable, but for large datsets can be slow (being uprated for v4)

ListView is lighterweight, uses simple DOM structure, and does not by default have all those capabilities. Capabilities are added as needed by using plugins.

blex2010
20 Dec 2010, 1:26 PM
So is there a "correct" way to add a multi-select checkbox selection model to a ListView similar to the GridView example?