Bug in :

************************************************** *
// this returns the index into the header list array for the given Id
DwtListView.prototype.getColIndexForId =
function(headerId) {
if (this._headerList) {
for (var i = 0; i < this._headerList.length; i++) {
if (this._headerList[i]._id.indexOf(headerId) != -1)
return i;
}
}
return -1;
};
************************************************** *

this method returns incorrect column index.

Steps to simulate the problem:
1. create an instance of DwtListView with 4 column headers with column IDs 100, 500, 1, 11
2. invoke getColIndexForId(1) with argument 1. This method's incorrectly returns 0 as the column index.

The real problem is in the follow line :
if (this._headerList[i]._id.indexOf(headerId) != -1)


--Zeebra