QTableview Viewport Problem
Unsolved
QML and Qt Quick
-
@nitishjo Not aware of a built-in method as such. But may be you can try iterating through columns and checking its coordinates(in your case x) are inside viewport's area. For that you have:
- viewport's dimensions using
size()
- each columns area using visualRect can be calculated as:
view->visualRect(model.index(0,0)); view->visualRect(model.index(0,1));
- viewport's dimensions using