Пример #1
0
void WgTablePanel::DeleteAllRows()
{
	_updateMarkedRowColumn(-1,m_markedColumn);

	m_rows.Clear();
	m_nRows = 0;

	_updateContentSize();
	_requestRender();
	return;
}
Пример #2
0
    static TestCustomTableView* create(TableViewDataSource* dataSource, Size size)
    {
        auto table = new (std::nothrow) TestCustomTableView();
        table->initWithViewSize(size, nullptr);
        table->autorelease();
        table->setDataSource(dataSource);
        table->_updateCellPositions();
        table->_updateContentSize();

        return table;
    }
Пример #3
0
void CBGridView::setColCount(unsigned int cols) {
    m_colCount = cols;
    _updateContentSize();
}