cocos2d/cocos2d-x — pull request #2307 by SevInf (2013-04-04 15:18:10+00:00)
Title: Support variable cell sizes in CCTableView

`tableCellSizeForIndex` method was added to `CCTableViewDataSource`. Old one, `cellSizeForTable` left for backward compatibility and still will be working if `tableCellSizeForIndex` is not overridden. The same is true for JS bindings.

Performance drop on a large amount of cells is theoretically possible, but I've tested on 20000 cells I didn't saw any noticeable difference.