[CLOSED] [#1371] [4.1.0] Grid - Row editor - Field-editors are not showing.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] [#1371] [4.1.0] Grid - Row editor - Field-editors are not showing.

    When double-tapping on a row the row-editor shows up, but there are no editors for the showing, so it is impossible to edit the row.

    @{ 
        var x = Html.X();
        var data = new List<object>{
            new
            {
                Name = "Lisa"
            },
    
            new
            {
                Name = "Bart"
            }
        };
    }
    
    @(
        x.Grid()
            .Plugins(x.EditableGrid())        
            .Columns(
                x.Column()
                    .DataIndex("Name")
                    .Text("Name")
                    .Width(200)
                    .Editor(x.TextField())
            )
            .Store(x.Store()
                .AutoDataBind(true)
                .Fields(
                    x.ModelField().Name("Name")
                )
                .Data( data )
            )     
    )
    Last edited by Daniil; Aug 16, 2016 at 4:13 PM.
  2. #2
    Hello @sveins12!

    Thank you very much for all the feedback on Ext.NET Mobile! We're very excited to go thru all your reports!..

    In this case it seems all that's missing is to set the column as editable. Check it out by adding .Editable(true) to the column definition! Let us know if it didn't help at all.

    EDIT: before I forget, this is how the Editable GridPanel example in our mobile examples explorer is written and it works. Of course I tried with your example and it also displayed the editor field in the edit dialog.
  3. #3
    It works, thank you!

    By the way, in the other Ext.NET versions the column is implicitly set to editable if it has an editor defined. Maybe this should be something to consider for the Mobile-edition.
    Last edited by sveins12; Aug 16, 2016 at 12:05 AM.
  4. #4
    Hello! Of course, we've just logged the feature request under #1371. This is a great time to decide on such a behavior as it would get harder to change defaults after the final version is out.

    Thanks for all the feedback!
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Hello,

    The change has been committed to GitHub. Now setting a Column's Editor is enough to get the Column editable.

    Thank you for raising it.

Similar Threads

  1. Replies: 5
    Last Post: Apr 16, 2016, 6:54 PM
  2. [CLOSED] HTML editor in IE has box show in editing area
    By RRD in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 08, 2013, 5:15 AM
  3. [CLOSED] Grid editing doesn't work inside FieldSet
    By sisa in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 20, 2013, 9:09 AM
  4. Replies: 3
    Last Post: Jul 24, 2012, 8:40 PM
  5. Tree Grid - Doesn't show child nodes be default.
    By Sagar2529 in forum 1.x Help
    Replies: 3
    Last Post: Feb 25, 2011, 9:13 AM

Posting Permissions