Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Which inline editor is best/easiest to impliment

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default Which inline editor is best/easiest to impliment

    I want to do simple inline editing in my forms where the fields look like display fields but when you click on one or (tab over to one from another field) it switches to an editor field (text field or combo field) allowing you to change it and after you hit enter or tab to the next field. After doing some research I found two solution for this...

    The built in Ext.editor solution and the bolt on InlineFormFields solution here...

    http://www.extjs.com/learn/Extension:InlineFormFields

    But which one is the easiest to implement that does what I need it to do? Why are the different? If we already have a Ext.editor then why bother making the InlineFormFields tutorial?

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    I cannot compare, I use neither of them. The extension you mention is 2 years old so the code may need to be ported.

    I think that you could get better response to general questions like this if you posted in a public forum. Non-premium members, even if they had answers cannot post here.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  3. #3
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default

    How do I move this thread to the public forum and if you use neither solution to inline editing, what do you use?

  4. #4
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    I do not use inline editing at all. I can move this thread to a public forum, just tell me which, general discussion?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  5. #5
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default

    Ext JS Community Forums -> Ext: Help

    p.s. If you don't use inline editing at all then how do you do dynamic editing in a form? Granted the old school way of a details form and edit form is ok but inline editing is a huge leap in user experience.

  6. #6
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    Moved.

    PS: I use standard forms,
    Code:
    Label: [                  ]
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  7. #7
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default

    What do you mean? Could you give me some example code?

  8. #8
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664

    Default

    I mean, I do not switch fields between read-only/editable. When I need a form I use a standard Ext one, such as here: http://www.extjs.com/deploy/dev/exam...m/dynamic.html
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  9. #9
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default

    Well, I think an easier solution to both of those options I gave would be to just disable a textfield and make it's CSS appearance look like a displayfield. There are only 2 problems I can't seem to fix...

    1. How to change the css of a text field when it's disabled/how to change it back when enabled

    2. Theres no click event for text fields which is really odd because thats one of the most common events that an object has.

    I did some searching and other people have asked the same question but a lot of the answers went over my head.

    p.s. Why wouldn't you use inline editing in your apps? To me it makes edit only and view only forms a thing of the past.

  10. #10
    Sencha User
    Join Date
    Mar 2008
    Posts
    665

    Default

    bump

Page 1 of 2 12 LastLast

Posting Permissions

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