wxgridtablebasegrid table classes. derived from include files <wx/grid.h> members
wxgridtablebase::wxgridtablebase
wxgridtablebase::wxgridtablebasewxgridtablebase()
wxgridtablebase::~wxgridtablebase~wxgridtablebase()
wxgridtablebase::getnumberrowsint getnumberrows() you must override these functions in a derived table class.
wxgridtablebase::getnumbercolsint getnumbercols()
wxgridtablebase::isemptycellbool isemptycell(int row, int col)
wxgridtablebase::getvaluewxstring getvalue(int row, int col)
wxgridtablebase::setvaluevoid setvalue(int row, int col, const wxstring& value)
wxgridtablebase::gettypenamewxstring gettypename(int row, int col) data type determination and value access.
wxgridtablebase::cangetvalueasbool cangetvalueas(int row, int col, const wxstring& typename)
wxgridtablebase::cansetvalueasbool cansetvalueas(int row, int col, const wxstring& typename)
wxgridtablebase::getvalueaslonglong getvalueaslong(int row, int col)
wxgridtablebase::getvalueasdoubledouble getvalueasdouble(int row, int col)
wxgridtablebase::getvalueasboolbool getvalueasbool(int row, int col)
wxgridtablebase::setvalueaslongvoid setvalueaslong(int row, int col, long value)
wxgridtablebase::setvalueasdoublevoid setvalueasdouble(int row, int col, double value)
wxgridtablebase::setvalueasboolvoid setvalueasbool(int row, int col, bool value)
wxgridtablebase::getvalueascustomvoid* getvalueascustom(int row, int col, const wxstring& typename) for user defined types
wxgridtablebase::setvalueascustomvoid setvalueascustom(int row, int col, const wxstring& typename, void* value)
wxgridtablebase::setviewvoid setview(wxgrid* grid) overriding these is optional
wxgridtablebase::getviewwxgrid * getview() const
wxgridtablebase::clearvoid clear()
wxgridtablebase::insertrowsbool insertrows(size_t pos = 0, size_t numrows = 1)
wxgridtablebase::appendrowsbool appendrows(size_t numrows = 1)
wxgridtablebase::deleterowsbool deleterows(size_t pos = 0, size_t numrows = 1)
wxgridtablebase::insertcolsbool insertcols(size_t pos = 0, size_t numcols = 1)
wxgridtablebase::appendcolsbool appendcols(size_t numcols = 1)
wxgridtablebase::deletecolsbool deletecols(size_t pos = 0, size_t numcols = 1)
wxgridtablebase::getrowlabelvaluewxstring getrowlabelvalue(int row)
wxgridtablebase::getcollabelvaluewxstring getcollabelvalue(int col)
wxgridtablebase::setrowlabelvaluevoid setrowlabelvalue(int wxunused(row), const wxstring&)
wxgridtablebase::setcollabelvaluevoid setcollabelvalue(int wxunused(col), const wxstring&)
wxgridtablebase::setattrprovidervoid setattrprovider(wxgridcellattrprovider* attrprovider) attribute handling give us the attr provider to use - we take ownership of the pointer
wxgridtablebase::getattrproviderwxgridcellattrprovider* getattrprovider() const get the currently used attr provider (may be null)
wxgridtablebase::canhaveattributesbool canhaveattributes() does this table allow attributes? default implementation creates a wxgridcellattrprovider if necessary.
wxgridtablebase::updateattrrowsvoid updateattrrows(size_t pos, int numrows) change row/col number in attribute if needed
wxgridtablebase::updateattrcolsvoid updateattrcols(size_t pos, int numcols)
wxgridtablebase::getattrwxgridcellattr* getattr(int row, int col) by default forwarded to wxgridcellattrprovider if any. may be overridden to handle attributes directly in the table.
wxgridtablebase::setattrvoid setattr(wxgridcellattr* attr, int row, int col) these functions take ownership of the pointer
wxgridtablebase::setrowattrvoid setrowattr(wxgridcellattr* attr, int row)
wxgridtablebase::setcolattrvoid setcolattr(wxgridcellattr* attr, int col)
|