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.  Performance problems with Datagrid Editor Behaviors

    Posted 10/30/15 06:03 AM

    Hi,

    since we have updated our workspace to RBD 9.5 (Dojo Widgets 2.3) we have performance problems with the Datagrid Editor Behaviors.

    In the Editor Behaviors of the Datagrid we put DojoComboBoxs in one column.

    Like this:

        function EditorBehaviors(grid DataGrid in, cell Widget in, rowData any in, rowIndex int in, column DataGridColumn in, value any in) returns(Widget)        if(column.name == "column")            DojoComboBox DojoComboBox{value = value, editable = false, onChange ::= TEST_onChange, width = 160, values = values, disabled = true};            cell.children =[DojoComboBox];        end    end

     

     

    Marcel-D


  • 2.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/05/15 03:58 AM

    Hi Marcel,

    It looks normal when I try your code. Do you have a full test case?  What version do you compare to?

    HuangJiYong


  • 3.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/05/15 04:34 AM

    Hi,

    thanks for your reply.

     

    I compare it to RBD 9.0.

     

    It occurs only if you have more than 200 rows.

    Sometimes Firefox asks if i want to stop the JavaScript because it's not responding.

    If i replace the Dojo Widgets by the 'normal' IBM widgets it's a lot of faster.

     

    I attached a sample.

     

    Kind regards!

     

    Marcel-D


  • 4.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 02:12 AM

    Hi Marcel,

    I did not find obvious differences between 9.0 and 9.5. I made a project to test the Datagrid loading time, they don't have much difference. Attach my test project. Run EditorGridPerformance RUIHandler can get the loading time in the bottom of the page.

    HuangJiYong

    Attachments



  • 5.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 02:29 AM

    Hi,

    thank you!

    But I can't download it...

     

    Marcel-D

    Attachments



  • 6.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 02:40 AM

    Updated the attachment. Should work now.

    HuangJiYong


  • 7.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 03:08 AM

    Thank you,

    the loading time is okay.

     

    But the editor behavior takes a long time to put the dojo widgets in the grid.

    (Also in your example)

     

     

    Here you can see the content of row 3 is already there.

    But it takes very long to create and fill the dojo widgets.

     

    Marcel-D


  • 8.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 03:53 AM

    Yes, the render of Dojo widgets is slow, but it happens in both versions. I can't see any difference between v9 and v9.5 on loading the dojo widgets in the example.  Can you use paging to avoid creating so many widgets at once?

    HuangJiYong


  • 9.  Re: Performance problems with Datagrid Editor Behaviors

    Posted 11/09/15 04:17 AM

    Is there a way to speed it up?

     

    Yes in some programs we are using paging, but in some prgrams it's not wanted from the customer.

    In this programs we use the IBM widgets because they are faster.

    But the handling of the IBM widgets is not as good as the handling of the dojo widgets.

     

    That workaround is not satisfactory...

     

    Marcel-D