EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Datagrid sorting formatted column

    Posted 08/25/15 07:53 AM

    Hello all,

     

    For now I'd like to ask a quick question, to check if I'm missing anything. I've created a datagrid with most of the columns getting data directly
    from the record set using the setData method. There are a couple of calculated columns however (using formatters). I'd like all the columns

    to be sortable. The sorting works on the columns getting the data directly from the record, but formatted columns either don't get sorted at all,

    or get sorted in the wrong order. Maybe there is some documentation I missed somewhere?

    Thanks in advance for any feedback. In case anyone needs more information, please ask.

     

    EDIT: The only thing I've thought of that would work, is calculate the values on service side, so the calculated values
    are available in the record...

    Dominiek


  • 2.  Re: Datagrid sorting formatted column

    Posted 09/08/15 05:19 AM

    Hi Dominiek,

    It is not sortable for the calculated column. Calculate the values on the service side is a good option. Thanks.

    HuangJiYong


  • 3.  Re: Datagrid sorting formatted column

    Posted 09/10/15 04:40 AM

    Hello, 

     

    Thanks for your response. I already implemented a solution by calculating the values server side which works as expected. 

     

    Dominiek