I found out, that you can filter a list view in a JSLink File very easy by a postback:
function filterList(ctx, filterField, filterValue){
__doPostBack(controlId, 'NotUTF8;__filter={' + filterField + '=' + filterValue + '}');
return false;
}
Is there a way to sort the ListView as well by __doPostback() as well?
Something like this:
__doPostBack(controlId, 'NotUTF8;__order={' + filterField + ', asc}');
I'm sure this is possible but I can't find the right syntax...
thx
Update: Ok, Sebastian Schütze seems to be right: It's not possible :-(
But I still have the baisc problem of sorting: https://sharepoint.stackexchange.com/questions/162559/js-link-and-csr-how-to-use-default-sorting-filtering-and-override-header