Project

General

Profile

Support #1649

WStandardItemModel & WSortFilterProxyModel for n clients

Added by navnidhi sharma over 9 years ago. Updated over 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/29/2013
Due date:
% Done:

0%

Estimated time:

Description

Is it possible to use the same model across the clients, but using their own filter? So, if the application has n clients, there would be single model with n filters. In my case the clients cannot change the contents of the model; however, they can have different filter, e.g. sort, column selection, and so on.

model = new WStandardItemModel(this);

filter = new Wt::WSortFilterProxyModel(this);

filter->setSourceModel(model);

Thanks!


Files

file.log (29.7 KB) file.log navnidhi sharma, 02/01/2013 03:39 PM

Also available in: Atom PDF