Skip to Content
avatar image
Former Member

InputFields in table

Hi experts.

I have a problem with focus in table inputfields. In my table, have a column as input, when user focus the input, table row, the getLeadSelection return correctly the row focused, but when the user select directly the text of input, the row selected (getLeadSelection) is diferent that the input on user is written (row don't get the focus).

Anybody knows how to solve this? It's possible to add other type of input that works this correctly?

Other option for this are getting the index of selected input, its possible to implement any listener to develop this?

Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 13, 2009 at 10:59 AM

    Thanks for your quick answers, but I will not be solved with SourceMapping, as they depend on the onEnter and this option does not fix my problem 😔

    I choose to enable input when the user select row.

    Thanks anyway

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Create a context attribute of type boolean and initially set it to false. bind this to the Inputfield enabled property

      on leadselection toggle the state.

      Regards

      Ayyapparaj

  • avatar image
    Former Member
    Feb 13, 2009 at 09:43 AM

    Hi,

    To resolve your issue you need to do a mapping. with nodeElement

    If you search the forum you will get this.

    IWDInputField field;

    field.mappingOfOnEnter().addSourceMapping(sourceName, newName)

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 13, 2009 at 09:45 AM

    Hi Xavier,

    For ur Query, solution is Action parameter Mapping.

    search in SDN for Action Parameter Mapping , u will get the solution .

    Thanks and regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 13, 2009 at 12:26 PM

    Shanto, I tryed this, and have the same result

    Ayyapparaj, when I check that the mapping was not the solution, I decided to do it the way that you say

    Thanks anyway

    Add comment
    10|10000 characters needed characters exceeded