Thtmlb: tableview key down functionallity

Hi All
I have a problem with an editable thtmlb: tableview
I have two columns in a tableview that are editable input fields.  When the user presses the down arrow key I need the cursor to jump down to the next row. e.g.
material in row 1.  The user presses the down arrow, the cursor goes to the material in row 2.
This functionallity used to work with a htmlb:tableview but not with the thtmlb:tableview.
I can't wrap this in a form as it screws up the entire layout of the page.
Can anyone help with this.
Thanks
Darren

Hi,
You can try to set  <chtmlb:configTable-selectionMode = 'MULTILINEEDIT'
A few places you can do this..
Set directly on view layout->{BSP Component}.htm
  <chtmlb:configTable
                      id                         = "Table"
                      onRowSelection    = "select"
                      selectionMode         =  "MULTILINEEDIT" />
OR
Set in the "DO_PREPARE_OUTPUT" method and reference in view layout as
selectionMode         = "<%= {BSP Component}->SELECTION_MODE %>"
In Method DO_PREPARE_OUTPUT
typed_context->{BSP Component}->set_selection_mode( iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multiedit ).
Cheers,
Eric

Similar Messages

  • I can't order more than one picture at a time in iphoto.  I am holding the command key down and highlighting two but only the last one is showing up

    Hi,
    I need help placing an iphoto order online for prints.  I have a few pictures I want in a few sizes and it seems to only allow me to select one at a time.  I have held the command key down but it defaults to the last picture i selected.  I appreciate your help.

    What system and iPhoto versions are you using?  As a quick test try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos and check to see if the same problem persists.  See if you can get all of the selected photos in the order window as it should be.
    If you can't then try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

  • How to get editable value from thtmlb:tableView

    Hi,
    I create a tableview using tag thtmlb:tableView and set column editable. Now the value in the tableview can be changed, but I don't know how to get the changed value from tableview. Pls help me.
    thanks in advance!

    Hi,
    You can get the collection of the context node and any line of the table is an entity in the context node.
    If it is not helpfull try to find a table called 'table' or 'tableview', maye it's an attribute in your context node.
    Best regards,
    Caíque Escaler

  • With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    With Mavericks I have to hold command key down and double click to get a sub folder to open in a new window.  Can I go back to just double clicking ?

    Of course. To do it, open a Finder window, go to Finder menu (on the menu bar) > Preferences > General, and untick "Open folders in tabs instead of new windows".

  • How can I select text in a thtmlb:tableview in a pop-up?

    Hi,
    We have a number of pop-up screens that contain thtmlb:tableview tags.  For some reason, it is not possible to select text (left-mouse click then drag cursor) in these pop-ups.  We are currently having to put any text that the user might want to select in disabled inputfields, but this looks rather ugly. 
    Does anyone have a solution to this problem?  The selection of text within tableviews works fine if the view isn't displayed in a pop-up.
    Many thanks,
    Andrew

    HI Andrew,
    I have a littel problem in understanding the business use case.
    Why should the user want to copy the text from the view.He will either select a row,by using the seletion tabs at the side of the view.
    But why woudl he actually copy the text by left clicking and dragging the mouse over the text.Doesn't look like a valid use case.
    What i have implemened once is where the table in the pop up contains multiple fields,and the user wants the description (ie one field) to be populated automatically into the field after selection of that row in the table view.Thsi can be eaqsily achived by making the table view select option as true and changing the html code also to fetch the selected index.
    After this, the selected entity can be obtained from the collection wrapper,since it becomes the current entity:
    me->typed_context->(context node name)->collection wrapper->get_current()
    Now the desired field from this entity can be copied into the field of your choice in the parent view.Also once the user clicks the selection tab to select the enitty,popup_close method shoudl be called and pop up shoudl be closed immediately.
    All this processing should happen in an even handler eh_onselect().

  • I just created a new iPhoto library with holding the option key down and then opening iPhoto with version 7.1.5.  I changed the name of the first library to iPhoto library 1 and now I all my photos are gone.  My operating system is Mavericks.

    I just created a new iPhoto library with holding the option key down and then opening iPhoto with version 7.1.5.  I changed the name of the first library to iPhoto library 1 and now I all my photos are gone.  My operating system is Mavericks.

    launch iPhoto wile holding down the option key and select the original library - when you create a new library of course it is empty
    And you seriously need to backup your iPhoto library and purchase and install iPhoto '11 version 9.5.x from the App store and download and run the iPhoto library upgraded \then run the new iPhoto - 7.1.5 is not fully compatible with Mavericks
    LN
    PS you also need to update your profile - it states that you have OS X 10.6.8

  • All I have on my I pod touch is a white screen with multicolored lines going across screen.  What do I need to do.  I can't use I tunes because it says I have to have passcode and can't get screen to come up.  I have already tried holding both keys down.

    All I have on my I pod touch is a white screen with multicolored lines going across screen.  What do I need to do.  I can't use I tunes because it says I have to have passcode and can't get screen to come up.  I have already tried holding both keys down.

    - See if placing the iPod in Recovery mode will allow a restore.. It bypasses the passcode (and erases the iPod)
    - Next try DFU mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Key down event to start something an stop arbirtrary

    hallo,
    what I'm trying to do is to start an event on key down an do a loop , something like move an axis for CNC , and this until i press an arbitrary key again.
    i have already a while loop an an event structure so it would be good just to add something withtout large modifications.
    have anyone an example code for me , please.
    i've looked already in a lots of posts but i can't find anything usefull for me.
    many thanks in advance

    again - lots of ways to do this.
    The attached example is just the fastest I could modify the previous version
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    keydownvi3.vi ‏53 KB

  • Key down event handeling when the VI isn't active

    Hi
      I've written a simplel VI that increases or decreases a numerical indicator depending on which key is pressed on the keyboard. But this only works when the VI window is active (the titlebar is blue and not gray). Is there anyway to listen for the key-down event even though the VI is not active?
    In advance thanks
    Georg

    I recently ran into a problem with the Acquire Data.
    See http://forums.ni.com/ni/board/message?board.id=170&message.id=147363
    Just in case....

  • Key down event in background

    Is there a way to make the key down event in the wait event structure run in the background when labview is not the focus? Also what is the difference between the "key down? event" and the "key down event"? I couldn't find a good answer in the LabVIEW help.

    tst wrote:
    To expand a bit on RF's answer, while you can't use the event structure to register for key down events in other windows, there are some potential options:
    You could use the input VIs to poll the keyboard (and you can have a loop which will use a user event to send each new key to an event structure). The main problem with this (and it's a big one) is that it is unreliable. You would have to poll quickly enough (probably at ~20-50 Hz) to have a decent chance of being sure that you're not missing keys and even then it's not guaranteed. The other problem is that you don't know which window was actually in focus.
    You could try getting the window messages from the other window. I have no real experience with Windows messaging, but my understanding is that this will probably require you to write a custom hook in C to get it, but it's possible that this is also possible with the standard Win32 API functions. Even if it is, this is probably not something you want to get into to, but you could try looking it up.
    Actually this Windows Messaging already exists in LabVIEW:
    http://zone.ni.com/devzone/cda/epd/p/id/4394
    However there is a few issues.  It only partially works in Windows 64-bit, and you have to know the handle to the application that you want to intercept key downs for.  I did a quick test and I was able to detect the KEYDOWN event in another VI that was running for for some reason got an error when I tried to get keydown on notepad.  This method would eliminate polling if you can get it to work, and because of this you shouldn't miss any key presses.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Key down events

    Hi,
    I've been working on code for handling a flash-plugin inside an existing application, and have been looking at getting the flash player working with the Cocoa/CoreGraphics API.
    Thus far, I have plugin loading, focus, mouse handling events all working. But then key events don't work consistently - on some flash applications, the key down events work, but on most they return a '1' but the flash app doesn't respond.
    This is most odd, and a pretty esoteric type of work - I don't know many people who get this kind of work, and it's hard finding people who can share their experiences of this.
    I've been going through the NPAPI docs on the mozilla website and copying a lot of the handling code in WebKit, Chromium and Firefox, but none of it seems to help any more - my handling code works the same way as that does, but the responses for key down events are different.
    So, this is just a last try before I go crazy - has anyone ever seen anything like this before?
    Thanks,
    Tom.

    Well, it is a problem with Flash Player and not Flash. I don't need an experienced Flash developer.
    Seriously though, the nature of the question is so esoteric that I doubt there are many developers anywhere who could give much advice.
    Thanks anyway.

  • Someone answered question by stating Found solution on another forum: hold the remote's wireless key down continuously...  is that on the bose soundock remote?

    my bose sounddock no longer plays as it did using my airport express - with iphone 5 or ipad mini, nada. someone mentioned holding down the wireless remote continuously? which remote has wirelesskey?
    Found solution on another forum: hold the remote's wireless key down CONTINUOUSLY whilst pairing any other devices. This isn't in the user manuals. Bose ought to rectify this in any firmare upgrade...
    Like (6)

    Tell Bose. This is the Apple Support Community.

  • Navigate previous record,next record by entering key-up and key-down

    Hi ,
    JDeveloper11g_
    I am trying to solve of how to navigate previous record,next record by entering key-up and key-down in ADF Table.
    If any of you have this solution by JScript of Backing Bean please help me.
    Thanks
    zakir
    ===

    Hi zakir,
    I hope I understood your requirements correctly. You have an editable ADF table. You would like to use the up/down arrow keys to move from one row to the next/prev row of the same column. Since the Tab key moves the cursor to the right and Shift+Tab moves it to the left, now you want to implement the same thing but just up and down, correct? If so, try this.
    /** Javascript **/
    function detectKey(evt) {
        var inputText = evt.getSource();
        var id = inputText.getClientId();
        var start2 = id.indexOf(":") + 1;
        var end2 = id.lastIndexOf(":");
        var numValue = parseInt(id.substring(start2, end2));
        var evt2 = evt.getNativeEvent();
        arrows=((evt2.which)||(evt2.keyCode));
        switch(arrows) {
            // Up arrow
            case 38:
            numValue = numValue - 1;
            break;
            // Down arrow
            case 40:
            numValue = numValue + 1;
            break;
        var newStr = id.replace(/:\d:/, ':' + numValue + ':');
        var comp = AdfPage.PAGE.findComponent(newStr);
        if (comp != undefined) {
            comp.focus();
    /** Jspx. (Place a client listener on each inputText in the ADF table) **/
    <af:column .....>
      <af:inputText value="#{row.bindings.price.inputValue}" .....>
        <af:clientListener type="keyDown" method="detectKey"/>
      </af:inputText>
    </af:column>With this, you get to move Up/Right/Down/Left in the editable ADF table without using the mouse.
    References:
    http://thepeninsulasedge.com/blog/?cat=29
    af:clientListener attributes and methodes of event object in java script
    Regards,
    Chan Kelwin

  • Tool bars missing advisor says 'hold key down - What KEY???

    My tool bars went missing, so I went to help. The advise said this is a 'new' feature [who needs this???] It also said I could restore the tool bars that I didn't ask to lose by holding 'the key' down and pressing V T etc at the same time. But, My key board probably has 50 odd keys on it. Which one of these is the magic key, so I can restore features I had set up the way I wanted in the first place. BTW, if this is an 'Improvement' please, don't try to fix what ain't broke - some of us like Mozilla because it is easy to use. I could always go with Explorer if I want gimmicks that accomplish nothing, but frustrating the user.

    Reference to the option key was found in the instructions to Reset toolbars and controls from support Mozilla.
    Thank you for the info. Pressing the alt key does produce the tool bar temporarily. I can use bookmarks if I act quickly before the toolbar disappears. With your info I will go back and try to get the toolbar back permanently.

  • Detecting external keyboard Key Down Events in Ipad2 without EditText Field.

    I am trying to detect key pressed for an external keyboard (bluetooth) in IPad2 , I was only able to do so when the focus is on EditText Field.
    Without the edit text field , the key down events are not captured by the program . Is there any work around for this issue .

    I am trying to detect key pressed for an external keyboard (bluetooth) in IPad2 , I was only able to do so when the focus is on EditText Field.
    Without the edit text field , the key down events are not captured by the program . Is there any work around for this issue .

Maybe you are looking for