on 02-14-2007 2:27 PM
How can I set, that there is no preselection of a row in a table?
Hi Juergen,
I'm assuming you want the automatic select action not to be executed on the first execution of the service connected to the table, but you want to be able to manually select rows in the same table and in this case execute the select action.
If this is the case, one option to solve the problem would be as follows:
1. Create a data store with a field and connect it to the output of the service.
2. Initialize the field in the data store with 0 (zero)
3. connect the output of the table to the same data store
4. Add 1 to the field in the data store on every selection (the event on the line connecting to the data store should be select and the expression on the mapping to the data store field should be something like @field==@field+1)
5. On the original select event create a guard condition with the following expression @field>1, this way the select action will be executed only when a user manually selects a row in the table.
Hope it helps,
Lisi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The <b>second example</b> shows how to do it. (This example sets a guard condition for the next dataservice after the table. The first row in table will anyway selected).Refer the previous post for step by step instructions.
<a href="/people/jarrod.williams/blog/2006/12/14/visual-composer-tips-and-tricks:///people/jarrod.williams/blog/2006/12/14/visual-composer-tips-and-tricks
The model is also available for download
Regards,
Sooraj
hi guys,
as for my experience, the initial selct of a table (first line) cannot be suppressed.
This has an expecially nasty effect if you're using the select event.
martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perhaps this might help for the solution:
https://wiki.sdn.sap.com/wiki/display/VC/Changeinitialselect
Just "find" a row that doesn't exist and let's see, if any record gets selected or not....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jürgen,
I think the only way is that you set your table selection setting to "unselectable", but then you can't select any row. I don't know any other way.
Best Reagards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.