Solved 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? -
@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?!
-
Hey,
I was trying to create a new row in tableview, when there is no data.
The tableview is editable.I did this by hardcoding the index value, since it will be the first row anyway when I insert it for the first time.
Thanks