i have a slot function on insert a column with the qtableview,and the colde are bleow,i use the libqxt csvmodel function;:
Qt Code:
void PFDataGrid::insertColumn(int columnNumber) { QxtCsvModel *csvModel=(QxtCsvModel*)(this->model()); csvModel->insertColumn(columnNumber); }To copy to clipboard, switch view to plain text mode
but when i insert a column ,there is always will insert a column at the end ,can't be edit ,and the first column did't have column number ,can anyone help my ,i will be appreciate it未命名.JPG
Bookmarks