Answer the question
In order to leave comments, you need to log in
How to implement filtering in Excel via Qt?
Hello, I am displaying a table from TableView in excel.
I set up everything, both borders and color and hyphenation, but I can’t fasten filtering to the first line, each filled cell.
As I understand it, do everything as in this case:
QAxObject *font=cell->querySubObject("Font");
font->setProperty("Color",QColor("blue"));
QAxObject *filter=cell->querySubObject("Filter");
filter->setProperty("???", ??? ));
Answer the question
In order to leave comments, you need to log in
Everything was solved simply in this way
QAxObject *filter = cell->querySubObject("AutoFilter");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question