Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2010

    Exclamation Can user input to simpletablemodel ???


    i have go through lots of dicussion about how to edit simpletablemodel , but mostly all of them used a method that user input the data into a textbox and then update the table,

    what i trying to do is, allow user directly key in the data in to the table and the data can be save and next time when i preview, it will be the latest data , but some how the table not allow user to do that, is that anyway to allow the table to be enter a value directly , and do we have any other option like other type of table control.

    thank you.

  2. #2
    Super Contributor
    Join Date
    May 2008
    Helsinki, Finland

    Re: Can user input to simpletablemodel ???

    Hello gengisme!

    Welcome to the discussion board.

    What you asked about, you should be able to do it by setting listeners to capture mouse clicks on a cell
    and set that cellas editable...

    You could give it a try atleast? Let me know if you could proceed?

    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330

  3. #3
    Registered User
    Join Date
    May 2010

    Re: Can user input to simpletablemodel ???

    hi meveric,

    i try used ItemStateListener, and the somehow it does not fire the if else statement,

    Code :
    public void itemStateChanged(Item item) {

    if (item == tableItem)

    i believe is the problem arise from if (item == tableItem) <--- let's say if i change to tableitem to a textfield variable it work, but when i change back to a table variable it does not work, do u have any idea what should put in.

    besides , the table does not have any properties to change cell to editable , so what should i do in order to make it editable ?

    thank you

Similar Threads

  1. Nokia 6300 limiting user input
    By aib in forum Mobile Java General
    Replies: 5
    Last Post: 2008-10-08, 14:04
  2. Howto parse user input? */# - is it USSD or other command?
    By keypad in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-13, 14:46
  3. Server getting input from user...
    By profoundwhispers in forum Symbian
    Replies: 1
    Last Post: 2005-04-25, 04:01
  4. MMS and User Input
    By kevinhankinson in forum General Messaging
    Replies: 3
    Last Post: 2004-03-15, 13:51
  5. User input CAknNumberQueryDialog 7650
    By betasuppe in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-10-27, 09:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts