/**
* get the cell by the id of the widget that column bounded.
* @param wid the id of the bounded widget.
*/
me.getCellById = function (wid){
var okCell;
me.foreachCell(function (cell){
if(cell.cellWidget && cell.cellWidget.id==wid){
okCell = cell;
}
});
return okCell;
};
me.foreachCell = function(fn){
var cells = me.getAllCells();
for(var n = 0,len = cells.length;n<len;n++){
(fn)(cells[n]);
}
};