setSpan() functionality not working in qt 6 and cpp 17
-
wrote 5 days ago last edited by
I am using qt version 6 and cpp 17
i am using setSpan functionality on QTableWidget but not working as expected .
for initial data i am doing select * and display data in a sorted order with a span of 2 rows working fine rows are getting span of 2
but after that, receiving data through trigger from psql get data properly but when adding anywhere in qtable like in-between, strarting or ending span doesn't work properly, span doesn't work to newly inserted row or sometime it crash random behaviour but on select * displaying data properly with proper span, same function are used when data receive through trigger but while displaying span not working properly some span overlap with other , sometime span doesn't happen , sometime the application crashes.
tried everything still not working. -
Please provide a minimal, compilable example of your problem.
1/2