PDA

View Full Version : Error in doc for EditorGridPanel?



dbassett74
24 Sep 2009, 11:33 AM
The doc says that if no selection model is specified, it defaults to RowSelectionModel. However, this doesn't seem to be the case. It seems that it is actually a CellSelectionModel.

Animal
24 Sep 2009, 11:42 AM
Those docs are inherited from GridPanel. The methods are in GridPanel.

dbassett74
24 Sep 2009, 12:23 PM
Shouldn't there be a specific edit in the docs for the EditorGridPanel since the default selection model is not the RowSelectionModel as the docs say, but rather the CellSelectionModel?

I was banging my head on this for awhile until I realized it was a CellSelectionModel, not a RowSelectionModel. Shouldn't the docs accurately reflect this fact?

In fact, there is a specific edit for the selModel config item for the EditorGridPanel, which correctly states that the selection model is the CellSelectionModel. So seems like an inconsistency.