Skip to Content
author's profile photo Former Member
Former Member

Click event takes too long time!

Hi,

I find that the response time for the click events of Webdynpro UI elements is too long, especially when I use checkbox or dropdown fields in a table. I don't even have any actions or events bound to the checkbox or dropdown elements. It is very cumbersome to enter the values in the table grid as a result of this.

The network bandwidth I use is 1Mbps.

Please suggest as to how I can eliminate or atleast reduce the response time of the Webdynpro UI elements.

Awaiting for reply,

Yuvaraj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 03:03 PM

    Hi Yuvraj,

    Change your table properties:

    design: nw04s( if you are using NW04s)

    selection mode: none

    this can help to reduce lead select delay.

    but I don't think it is possible for checkbox or dropdown elements except that you handle intput for these UI elements programatically.

    regards,

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Yuvaraj,

      If you want, you can avoid initialized lead selection.

      Context tab-> select the table node -> initializeLeadSelection-> set to false.

      You can get selected rows in two ways.

      1) Using RadioButton or CheckBox as first column in the table to get selected rows

      Here i am giving check box (for multi selection)

      Create a child node for <table>Node, say Edit

      Set its properties

      cardinality 1..1

      singleton false

      To get selected rows

      for (int i = 0; i < wdContext.nodeTableData().size(); i++)
      		{
      			IPrivate<Vew>.ITableDataElement ele = wdContext.nodeTableData().getTableDataElementAt(i);
      if (ele.nodeEdit().currentEditElement().getSelect())
      {
      // process the selected node
      }
      }
      

      2) Directly obtain modified rows

      To get selected rows

      for (int i = 0; i < wdContext.nodeTableData().size(); i++)
      		{
      			IPrivate<Vew>.ITableDataElement ele = wdContext.nodeTableData().getTableDataElementAt(i);
      if (ele.isChangedByClient())
      {
      // process the selected node
      }
      }
      

      regards,

      Siva

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.