WDA Table element - scroll buttons missing
Hi !
Being a relative newbie in WDA, I am trying out the table control [tutorial|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130] for web dynpro ABAP. Even though I get the results on a browser screen from table SFLIGHT, I cannot see the next screen scroll buttons of 'next page' / 'last page' in NW 7.0 EHP2. I tried inserting the 'toolbar' element and still am not able to see the buttons. Is it a separate setting ?
The tutorial is all pre NW7.0 EHP2 and seems to come automatically along with the table element.
Oogway.
Oogway wrote:
I am interested in getting the Footer (for accessible mode) buttons at the bottom of the page displayed. Setting the parameter of WDTABLENAVIGATION to PAGINATOR or SCROLLBAR doesn't show any difference as the scrollbar is still visible. However, for tables containing many columns, it is difficult to use the browser scrollbar to get the edge of the table control to use the table scrollbar. It is for this case that the accessble mode buttons at the footer would be really helpful.
Hi,
your question should be paginator is missing.
as per your requirement, you want paginator (footer with buttons) for your table. from NW 7.01 and onwards, srollbar is the default value for table and in lightspeed rendering only scrollbar is used.
There are still some ways to get back paginator as discussed in thread row count in table ui element
and WDTABLENAVIGATION
But shifting to pagintor may cause performance issue as well.
I hope this will solve your problem.
Thanks,
Chandra
Edited by: Chandrashekhar Mahajan on Nov 15, 2011 11:41 AM
Similar Messages
-
How to customize the code for default scroll buttons provided in the table?
Hi Everyone,
I want to customize the code for default 'next page' navigation button provided in a table. If this is possible then how it can be done?
Thanks,
Swatido you mean 'footer' of table, which used to scroll table contents?
Table footer button is not editable.
Instead you can try buttons in the table tool bar and can swap elements in the table.And also table footer can be set to showfootoer: false.
refer thread: [Table Element Swapping|Re: Table with special requirement]
nikhil -
How to bind the values of a RFC to a table element in WDA
Hi,
I have a RFC that returns some set of rows for a particular pernr.I want to bind this RFC to a table element in WDA.
please let me know how to do this and points will be rewarded for the helpful anwersHi,
Pl post in Web Dynpro ABAP
This tutorial may help https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a89b067-0801-0010-8192-a9896a60938e
If its WD java
bind the datasource to the RFC model node
Regards
Ayyapparaj -
Hello all,
I created a table element which contains a column of check boxes.
I want to add to my table an option to check/uncheck all the check boxes.
I already created the events but I dont know how to call the events I created using the table?
Thanks in advance,
TomerHi Tomer,
you haven't said how your gui should look like. For example you can add two buttons ("select all" and "Unselect all") for this task. Now you add two actions, one for each button. Add the actions as eventtarget in the properties of the buttons. And in the event-methods of the actions you write your code to select/deselect the checkboxes, like
public void onActionSelectAll(...) {
for (int i = 0; i < wdContext.nodeMyTableDataSource().size(); i++) {
wdContext.nodeMyTableDataSource().getMyTableDataSourceElementAt(i).setMyCheckboxAttribute(true);
public void onActionUnselectAll(...) {
for (int i = 0; i < wdContext.nodeMyTableDataSource().size(); i++) {
wdContext.nodeMyTableDataSource().getMyTableDataSourceElementAt(i).setMyCheckboxAttribute(false);
HTH,
Frank -
Editing Cell Column of a selected row in UI table element.
Hi Experts,
I have a UI Table Element with three columns. First two columns are input fields in read only mode. Third column is a text edit field.
Now when I Select a row and press a button 'EDIT' i want that particular rows third column CELL alone to be in editable mode.
In order to achieve this, I created a WDY_BOOLEAN attribute in the same node which is used to bind the table. I binded this attribute to the READ ONLY property of third column.
In the EDIT button i wrote the following code.
lo_el_n_stp->set_attribute(
EXPORTING
name = 'A_EDIT'
value = ' ' ).
Here A_EDIT is the name of the attribute.
When i do this, my first rows third column is only going to EDIT mode and not the row which i selected.
Please tell me how to solve this problem.
Thanks in advance.Hi thanks for your reply.I have already tried this, the problem is i am not getting the seleted row value by using the below code
l
lo_nd_node1->get_static_attributes(
IMPORTING
static_attributes = ). "here you will get the selected row
Its giving me the first row value.
Edited by: Delphi on Mar 11, 2010 11:52 AM -
hi,
I am having a issue with table control scrolling. When i was passing less number of records (say 19 records becuase table control is having 19 lines) to table control in BDC call transaction, everything is working fine. after filling the 19 line items its not taking the next line item the page is not scrolling down. T.code is <b>GS02</b>. please suggest me. following is my code
REPORT ZLOCK_WBS_ELEMENTS MESSAGE-ID ZFI_RESTMT.
TYPES *
*types declaration for final internal table
types: begin of ty_final,
ryear like zupi5a-ryear, "Fiscal year
rbukrs like zupi5a-rbukrs, "Company code
racct like zupi5a-racct, "Account number
rzzps_posid like zupi5a-rzzps_posid, "WBS element
rzzmtit like zupi5a-rzzmtit, "MPM title
rzzmfor like zupi5a-rzzmfor, "MPM format
rzzmatnr like zupi5a-rzzmatnr, "Material number
rzzcou like zupi5a-rzzcou, "Country
rzzfow like zupi5a-rzzfow, "Financial owner
rzzoow like zupi5a-rzzoow, "Operational owner
rzzcon like zupi5a-rzzcon, "Licensee Contract
rzzloc like zupi5a-rzzloc, "Licensor Contract
kostl like zupi5a-kostl, "Cost center
zzfam like zupi5a-zzfam, "Fame Number
zzfor like zupi5a-zzfor, "Format
zzprd like zupi5a-zzprd, "Product Line
zzwin like zupi5a-zzwin, "Window group
zzwig like zupi5a-zzwig, "Window
rtcur like zupi5a-rtcur, "Currency Key
tsl like zupi5a-tsl, "Amount Transaction currency
hsl like zupi5a-hsl, "Amount Co. code currency
ksl like zupi5a-ksl, "Amount Group currency
msl like zupi5a-msl, "Quantity
end of ty_final.
Data
data: j_final2 type standard table of ty_final,
v_final2 type standard table of ty_final.
data: wa_final2 type ty_final.
data: bdcdata like bdcdata occurs 0 with header line,
messtab like bdcmsgcoll occurs 0 with header line.
data :begin of i_values occurs 0.
include structure setvalues.
data :end of i_values.
data: v_counter(3) type n value '0',
v_from like rgsbl-from,
V_FROM(30) TYPE C,
v_setname like zfi_setid_cc-setid,
v_setid like sethier-setid,
n type i,
l type i,
k type i value '1',
p_rbukrs like zupi5a-rbukrs.
import p_rbukrs from memory id 'bukrsid'.
import i_final2 to j_final2 from memory id 'table'.
To eliminate duplicate WBS elements to be stored into the sets
v_final2 = j_final2.
sort v_final2 by rzzps_posid.
delete adjacent duplicates from v_final2 comparing rzzps_posid.
select single setid into v_setname
from zfi_setid_cc
where rbukrs EQ p_rbukrs.
IF sy-subrc <> 0.
MESSAGE E005.
ENDIF.
*write 'ZFIRESTATEMENT' to v_setname.
call function 'G_SET_GET_ID_FROM_NAME'
EXPORTING
shortname = v_setname
IMPORTING
new_setid = v_setid.
call function 'G_SET_TREE_IMPORT'
EXPORTING
client = sy-mandt
langu = sy-langu
setid = v_setid
TABLES
set_values = i_values.
describe table i_values lines n.
describe table v_final2 lines l.
write n to v_counter.
clear bdcdata.
refresh bdcdata.
perform bdc_dynpro using 'SAPMGSBM' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RGSBM-SHORTNAME'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'RGSBM-SHORTNAME'
'ZFIRESTATEMENT'.
perform bdc_field using 'RGSBM-SHORTNAME'
v_setname.
loop at v_final2 into wa_final2.
v_counter = v_counter + 1.
perform bdc_dynpro using 'SAPMGSBM' '0115'.
concatenate 'RGSBL-FROM(' v_counter ')' into v_from.
perform bdc_field using 'BDC_CURSOR'
v_from.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RGSBS-TITLE'
'FI Restatement-WBS locking'.
perform bdc_field using v_from
wa_final2-rzzps_posid.
endloop.
perform bdc_dynpro using 'SAPMGSBM' '0115'.
perform bdc_field using 'BDC_CURSOR'
v_from.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'RGSBS-TITLE'
'FI Restatement-WBS locking'.
perform bdc_dynpro using 'SAPMGSBM' '0105'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'BDC_CURSOR'
'RGSBM-SHORTNAME'.
call transaction 'GS02'
using bdcdata
mode 'A'
update 'S'
messages into messtab.
Start new screen *
form bdc_dynpro using program dynpro.
clear bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
append bdcdata.
endform.
Insert field *
form bdc_field using fnam fval.
if fval <> ' '.
clear bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
append bdcdata.
endif.
endform.
this is working fine when they r less than 19 line items. please suggest me with the logic when it is more than 19 line items.Hi,
Just try to increase the table control lines before display.
v_counter = n + 10. -
Scroll bar missing on opening any website in firefox nightly 38.0a1
Vertical Scroll bar missing on opening any website in firefox nightly 38.0a1
On Mac the scroll bars can be hidden and only have them show when you scroll the page so you can see the current scroll position.
The idea is that a touch pad is used that doesn't require the scroll bars to be visible and thus have more screen estate for the browsing area.
You can make the scroll bars always visible:
System Preferences > General > Show Scroll Bar > Choose "Always"
You can try to delete the xulstore.json file in the Firefox profile folder.
You can use this button to go to the currently used Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
*http://kb.mozillazine.org/Profile_folder_-_Firefox -
Table Control Scrolling issue in Module Pool
Hi,
I've done table control. From Selection screen i've 3 buttons, if we'll press on one button one table control is visible. There if i do scrolling up to 10 records and i come back to selection and press another button again in table control scrolling is at previous place only. May be its nt refreshing.
Kinldy help on this issue.
With Regards,
jack.hi,
i've done like below. But no result. -
Validating the value in the table element
hello all,
I have a column in the table element as editable and i want to validate the value entered in the editable column with value in another column.can this achieved without selecting the row in the table...like on change of value etc...
i am new to web dynpros..can any one help me on this.
with regards,
sandeep akella.
Edited by: sandeep akella on Aug 10, 2009 2:42 PMI now create a toolbar for my table and within that toolbar am creating a Toolbarbutton. Now upon pressing this button I want to validate the entries of SEATS_NEEDED against the entry in SEATS_AVAILABLE. In case of any inconsistency I not only throw an error message but also highlight the particular columns cell in which the error has occured. Below is the coding inside my buttons action handler:
METHOD onactionvalidate_booking .
DATA: lr_node TYPE REF TO if_wd_context_node,
lt_sflight TYPE wd_this->elements_sflight,
wa_sflight TYPE wd_this->element_sflight,
lr_element TYPE REF TO if_wd_context_element.
lr_node = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
" Fetch the entire tables data into an internal table for validation purpose
lr_node->get_static_attributes_table( EXPORTING from = 1
to = 2147483647
IMPORTING table = lt_sflight ).
LOOP AT lt_sflight INTO wa_sflight WHERE seats_available <> 0.
" Check if user is trying to book more seats than what are available & throw an error message if needed
IF wa_sflight-seats_needed > wa_sflight-seats_available.
lr_element = lr_node->get_element( index = sy-tabix ).
" get message manager
DATA lo_api_controller TYPE REF TO if_wd_controller.
DATA lo_message_manager TYPE REF TO if_wd_message_manager.
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
RECEIVING
message_manager = lo_message_manager.
" report message
CALL METHOD lo_message_manager->report_attribute_error_message
EXPORTING
message_text = 'Number of desired seats greater than available seats!'
element = lr_element
attribute_name = 'SEATS_NEEDED'.
ENDIF.
ENDLOOP.
ENDMETHOD. -
Table controls (scroll bars) with LSMW
Hi,
I have to fill a table control from a lsmw project, my problem appears when we need to scroll down table control because there are no more free lines.
My question is if it's possible to manage table control scroll bars to scroll down when all rows will be taken, using lsmw.
Any idea about it would be very appreciated
Thanks in advanceHi Javier,
I suggest you is that you should loop at the internal table from which you are filling the data into the table control or use a counter for number of rows comming up at a time in the table control. And then put code for ADD+ button. Do this till the end of file or table.
I hope this helps.
Also you can use TCode for the LSMW to upload one record at a time. U can try this also.
Regards,
Usha. -
Multiple row selection for table element
Hi,
I have a requirement where I require to select multiple rows from a table element in a WD for abap application.
I have defined a node with cardinality and selection set to 1..n.
The contex node contains 4 fields : emp_name, pernr, manager and position.
The attributes of the table element for selectionmode is set to 'multi' and 'selectionchangebehaviour' is set to 'auto'.
I have defined an action on the 'onleadselection' event.
The code in this method also includes the statement 'lo_el_team_view->set_selected( EXPORTING flag = abap_true ).'
When I execute the application only 1 row is highlighted at any one time when I select it. You can select multiple rows by holding down the 'ctrl' key but I want to avoid having to do this. Is there anything I have missed out causing multiple row selections not to be all highlighted.
Thanks in advance for any assistance.Hi raj,
you can try the following code in the 'onleadselect' event of the table,
create one attribute ' Flag' of type WDY_BOOLEAN under the node which has been binded to the table.
DATA lo_nd_node_tab1 TYPE REF TO if_wd_context_node.
DATA lo_el_node_tab1 TYPE REF TO if_wd_context_element.
DATA lo_elements TYPE wdr_context_element_set.
DATA lo_ele_select_new TYPE REF TO if_wd_context_element.
DATA lv_deselect TYPE wdy_boolean.
DATA lv_flag TYPE wdy_boolean.
DATA lv_select TYPE wdy_boolean.
DATA lv_index TYPE i VALUE 0.
lo_nd_node_tab1 = wd_context->get_child_node( name = wd_this->wdctx_node_tab1 ).
get the current selected element
lo_ele_select_new = wdevent->get_context_element( name = 'NEW_ROW_ELEMENT' ).
CHECK lo_ele_select_new IS NOT INITIAL.
check whether it has been selected or not
CALL METHOD lo_ele_select_new->is_selected
RECEIVING
flag = lv_select.
lo_ele_select_new->get_attribute( EXPORTING name = 'FLAG' IMPORTING value = lv_deselect ).
check whether element has been previously selected or not,if not, set the flag to select it
IF lv_select IS NOT INITIAL AND lv_deselect IS INITIAL.
lo_ele_select_new->set_attribute( name = 'FLAG' value = 'X' ).
if selected currently and previously then set the flag as false,in order to delect it
ELSEIF lv_select IS NOT INITIAL AND lv_deselect IS NOT INITIAL..
lo_ele_select_new->set_attribute( name = 'FLAG' value = ' ' ).
ENDIF.
CALL METHOD lo_nd_node_tab1->get_elements
RECEIVING
set = lo_elements.
according to the falg, select and delect the elements
LOOP AT lo_elements INTO lo_el_node_tab1.
lo_el_node_tab1->get_attribute( EXPORTING name = 'FLAG' IMPORTING value = lv_flag ).
IF lv_flag = 'X'.
lo_el_node_tab1->set_selected( abap_true ).
lo_nd_node_tab1->set_lead_selection_index( lv_index ). * this statement deselects the lead selection index*
ELSE.
lo_el_node_tab1->set_selected( abap_false ).
lo_nd_node_tab1->set_lead_selection_index( lv_index ).
ENDIF.
ENDLOOP.
I hope this resolves your problem.
Thanks,
krishna -
Why are multiple slides under one table of contents button?
I'm using Captivate 8, and notice that when I preview my course, the table of contents buttons directly correspond with each slide but then after that, the remaining slides are lumped under one table of contents button. How can I fix this? In other words, when looking at the table of contents, it looks like my course only has 6 slides when in reality there's 30...many of which are lumped under the last button.
You have to scroll, they are not under one button at all.
Good practice is to group slides, then you'll see the hierarchy in the TOC and you are able to collapse all groups. That way the TOC will have a clean look, and the user can open a group to see the individual slides. -
Hello as2 image scroll buttons. I can't get the scroll to work
Thank you in advance for your help. I am building an vertical image scroll buttons in AS2. but I cant get the scroll to work. Can you please look at my script and see if I am missing something. Thank you again.
topEdge=mask_mc._y;
maskHeight=mask_mc._height;
sliderHeight=slider_mc._height;
ratio=maskHeight/(sliderHeight-maskHeight)
//trace(ratio)
targY=slider_mc._y;
slider_mc.onEnterFrame=function(){
this._y+=(targY-this._y)/5;
slider_mc.onMouseMove=function(){
if(mask_mc.hitTest(_ymouse,_xmouse,false)){
targY=topEdge-(mask_mc._ymouse/ratio)
updateAfterEvent();Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
T61 Fn key utilities, Trackpoint scroll button inop
This T61 was driving everyone crazy with extremely long boot times, but has been restored to it's original Vista installation, after which it worked extremely well for a short time. Then the Fn key utilities began to die, usually after a System Update session. I've read numerous posts about restoring these utilities which indicate that there is a critical load order of the drivers. It seems that you can download and install all of the proper drivers but if you don't do them in the right order they still won't work. Peachy.
Now my Trackpoint scroll button has fallen victim to the latest System Update session (more fool I). This has finally pushed me over the edge as it was one of the features I liked most about the machine.
I'm fed up with spending hours on trial and error downloads and installs and need to get some work done. I'm looking for a "Start Over" procedure that would just clear the whole darn bunch of Lenovo drivers and utilities out and reload the whole thing in whatever order is necessary.
Failing that, the plan is to do a custom install of W7-64 (required anyway for future versions of Adobe Production Premium video suite).
Any ideas?You had a decent post until reached the "Awesome but Asking Too Much" section...it kind of detracts from the seriousness of the underlying issue imho. As far as the backlit keyboard goes, it wouldn't even have to be that much; they could simply include the keyboard light in the display bezel that shines down on them like they have in the Thinkpads (not sure about current models). Nvidia Ion id a good idea although will probably cost about $50 more minimum. Bluetooth I agree with, warranty not so much. The industry standard is still one year for normal consumers and many companies offer 2 years as standard for higher education (epp) customers.
Regarding your awesome list:
-Hopefully Synaptics Gesture update will be able to compensate for a lack of this button, though I do not really find myself missing it.
- Nothing in the world is free, especially for a lower end unit.
- 6 Cell battery would be nice, and even nicer in a standard slim profile.
- 32GB SSD as standard? Even though the prices are dropping, I would say 16GB max realistically speaking for a standard capacity.
- Under $400....I hope I don't sound offensive when I say that this is pretty laughable. If you wanted this pricepoint with all of the changes you suggested like keyboard lighting, bluetooth, Nvidia Ion, free expresscard mouse, 32GB SSD, and two year warranty... come on, you can't tell me that doesn't sound a tad ridiculous haha.
You have made some valid points though, and I am sure that they will be noted. Just remember that no netbook/laptop is perfect and that they are constantly improving. Try to keep in mind also that Lenovo, like "most" computer companies, is not a non-profit organisation. So even though it may seem a tad bizarre, they are trying to profit off of their product
Afin d'accomplir quelque chose de neuf, on doit revenir à la source. -
Simple up/down scroll button to control overflow
I.
I´m trying to do a simple up/down scroll button to control the overflow of a div with text inside it.
My code:
Mousedown:
sym.getComposition().getStage().$("section_article_nosContigo_container").animate({ scrollTop: '+=40' });
Mouseup:
sym.getComposition().getStage().$("section_article_nosContigo_container").animate({ scrollTop: "+=0" });
This is Heathrowe's original code - all credit to him -, but I want the buttons to do a continuously scroll until I Mouseup and not bit by bit ('+=40').
How do I do it?
Thanx.This should help
View sample here - http://www.heathrowe.com/edge/scroll_continuous/scrollcontinuous.html
Detail Code/Description below: I have all the code in Stage > compositionComplete
Simply remap the elements (content, up, down) to match yours.
//////////////////Code ////////////////////////////////////////////////
// Function to to animate scroll up using jquery animate (properties [, duration] [, easing] [, complete])
// animates at 20 pixel increments from Top, 300 hundreds of a second, linear easing, repeat function on complete
// http://api.jquery.com/animate/
// Change the the duration/easing value for speed
function scrollContDn(){
sym.$("content").stop().animate({scrollTop:'+=20'}, 300, 'linear', scrollContDn);
// Function to to animate scroll down using jquery animate (properties [, duration] [, easing] [, complete])
// animates at 20 pixel decrements from Top, 300 hundreds of a second, linear easing, repeat function on complete
function scrollContUp(){
sym.$("content").stop().animate({scrollTop:'-=20'}, 300, 'linear', scrollContUp);
// Function to stop scroll
function stopScroll(){
sym.$("content").stop();
// Event for Down Button/Element
sym.$("down").mousedown(function(e){ // mousedown
scrollContDn(); // call scrollContDn function
}).mouseup(function(e){ // sequential chain mouseup function
stopScroll(); // call stopScroll function
// Event for Up Button/Element
sym.$("up").mousedown(function(e){
scrollContUp();
}).mouseup(function(e){
stopScroll();
Download sample here.
Maybe you are looking for
-
Am getting this message when i try to play music " unable to configure network stream"
am getting this message when i try to play music " unable to configure network stream"
-
It should be easier to change the default copyright company in Application Builder
It should be easier to change the default copyright company in Application Builder. I got the following from NI support to change the name of the company that is copyrighting the software. 1. To show the desired hidden folder, you must select Tools
-
Nomad Zen Jukebox dead battery - where to get fixed in Phoen
I have had a Nomad Zen Jukebox for several years. Sadly, after I got another player, I let this one sit for several months and now the Li-ion battery is dead. It's one of those 3.6 v batteries soldered onto the mainboard. I li've in Phoenix. Anyone k
-
Hi guys and gals, I run a large Intranet and want to standardise the way alot of the flash files work. They all need some standard bits of data, but at the moment they are located in txt files in the same reletive path as the movies, so when using Lo
-
Hi all, I used other camera's than my trusty old Canon 30D for a while and I've upgraded to LR 2.6 in the meantime. Now, when I import RAW files from the 30D with the 'Import' button in the Library module, it only shows empty 'tiles' in the preview s