QDataTable columns can't be changed dinamically

  • I have to change the columns dinamically by using the same QDataTable component based on a filter.
    So there are two escenarios to take into account:

    1. created event: in this escenario are loaded the initial columns and works perfect.
    2. if I change dinamically the columns based on a filter, the component does not render the ones, seems that it maintains the initial columns loaded in memory. (and there is the error)

    Do you have any workaround for this particular case?

    Thanks in advance.

Log in to reply