Skip to content

CoTMMO/cocos2d-x-GridView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocos2d-x-GridView

GridView (2D TableView) in cocos2d-x

Demo gif

NOTE:

  • Some methods of the TableView class should be declared as virtual, you'd better replace or merge CCTableView.h in your cocos2d-x source code directory with the one in the repo.
  • Either of the following methods of the GridView must be called:
    • setRowNum
    • setColNum
  • To run GridViewTest, you can copy the GridViewTest folder to ${COCOS_X_ROOT}/tests/cpp-tests/Classes/ExtensionsTest and replace the ExtensionsTest.cpp.
  • You can refer to an article in my blog (in Chinese) for further details.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%