on 06-11-2007 2:18 PM
Hi All,
In webdynpro table, whenever we click on any row of a table it creates an event. Everytime you click on different row of that table it creates an event.
eg.
consider 10 rows,
row1
row2
row3
row4
row5
row6
row7
row8
row9
row10
when I click on row2, it creates an event,
again if I create other rows other than row2 it creates event.
once we click on any row, clicking on that same row doesn't create an event.
but clicking on some other row creates an event.
<b>Can anyone suggest how to stop this eventing in table while selecting rows.</b>
Thanks in advance.
Hanif Kukkalli
If you are using version NW04s, set the value of property "compatibilityMode" to "nw04_plus".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Everyone,
Can any of you provide me these library files?
1. import com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDTableCompatibilityMode;
2. import com.sap.tut.wd.tutwd_table.tablecomp.wdp.IMessageTableComp;
3. import com.sap.tut.wd.tutwd_table.tablecomp.wdp.IPrivateTableCompatibilityModeView;
This might help me to solve my problem.
Thanks,
Hanif Kukkalli
Hallo Armin,
for me the table property "compatibilityMode" to "nw04Plus" is not working.
I have the same behaviour for input fields inside a table.
The same functionality works for me under NW2004, but behaves different under NW2004s/7.0 SP12.
My Properties:
fixedTableLayout = false
footerVisible = false
gridMode = both
readOnly = false
rowSelectable = false
selectionChangeBehavior = auto*
selectionMode = none
visibleRowCount = -1
I think, nw04Plus eliminates one round trip.
1) I am using this table without selection column
2) I use one button with source mapping
IWDButton btnAdd = (IWDButton) view.getElement("AddToCart");
btnAdd.mappingOfOnAction().addSourceMapping("nodeElement", "article");
3) I have one input field "qty" with no "onEnterEvent"
There is no addtional roundtrip on clicking table row or cell!
The roundtrip only takes place on the "onFocus" Event of the input field, but there is not such a event in the design time!
How can i avoid these roundtrip (it works for NW2004), because on large tables it is a huge performance bottleneck.
Best wishes,
Holger
Hi,
Make the table readonly.Then it will not fire any event as the table is not selectable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remove the event that is entered in the onLeadSelect property of the table. That way it won't fire an event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Greg,
Its not firing any specified event.
Its creates a blank event, and refreshes the page.
every row you select to enter values, it creates a blank event to activate that row.
the one solution is end users instead on clicking on it need to use tab key from keyboard to avoid that eventing.
click any one row first.
you can check it by placing your cursor on each row without clicking it.
on selected row it shows normal arrow,
where as on other rows ithe cursor comes out as a hand to click.
check the internet progress bar, it shows eventing.
Any more questions to solve my problem, you can ask me.
Thanks
Hanif Kukkalli.
Hi Hanif,
If u want a read only table,make the selection mode property as none in ur table .
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.