cancel
Showing results for 
Search instead for 
Did you mean: 

Click event takes too long time!

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Siva,

Thank you! Your tip solved the problem. But, if I set the selection mode to 'none', the 1st record will be the default lead selection. In that case, how would I get the current node element?

Thanks & Regards,

Yuvaraj

former_member197348
Active Contributor
0 Kudos

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

Answers (0)