TableView rightclick
-
Hi,
I have a tableView which i want to show a menubar on rightclick when its empty (no data).
I tried doing that but while calling insertion of row, am I supposed to give a hardcoded index? styledata.row is accessible only inside delegates. Is there anything which i can use as the row count in tableview? -
Hi,
I have a tableView which i want to show a menubar on rightclick when its empty (no data).
I tried doing that but while calling insertion of row, am I supposed to give a hardcoded index? styledata.row is accessible only inside delegates. Is there anything which i can use as the row count in tableview?@MTOLANI said in TableView rightclick:
I have a tableView which i want to show a menubar on rightclick when its empty (no data).
where should the index come from when there is no data in your table?!