0 votes

Is it possible to make sorting possible in a dashboard widget ?
(when we set noheader=false)

because now this gives an error message :

Incorrect parameter in URL
ID: PRTL-1951
Message: TDialogRequestHandler - Required Argument not found: "PAGE"
Comment:
Details:

Verify Arguments
Initialise Request Handling /dialog

asked in Efficy/ Client side by (618 points)

1 Answer

0 votes

Dynamic sorting, filtering, grouping etc are features that are not foreseen in widgets, because they don't work out of the box. I'm afraid you are trying to design something that is outside the original idea of a widget: "showing important information that catches the eye!". When sorting is required, the amount of displayed records is likely too high.

You could for instance change the anchor in the title to redirect to another page (entitylist or query) where these grid features can be provided because there is only one main datagrid in the page.

answered by (7.3k points)
that's what I thought :-), thanks for the info.
Hello,

Thank you to remind us the meaning of a widget but if we want to show header ("noheader=false"). Is there a way to not allow "sort" functionality and not display error message then ?

Regards
Romain
Romain,

you can use a header ( <#H> tag with sort=false ) to disable the sort on the headers.
Hello Stijn,

Thank for you reply.
I tried to override GridColumns.txt (GridColumnsCustom.txt) with a new field header definition like this :
th.DESCRIPTION {[<th class="text-start nowrap"><#H=$FIELD$;sort=false></th>]}
but nothing happens when widget is refreshed... ("Description" field is always clickable to sort)
1,231 questions
1,500 answers
1,835 comments
328 users