Select Field display in editor

Select Field display in editor

taylor5042taylor5042 Posts: 21Questions: 6Answers: 0

I'm trying to update from an older version of datatables/editor to resolve the multirow editing bug.
I have used the generator with the following:
https://editor.datatables.net/generator/run/table.0f0f883d-0147-11e8-a117-002590dcfa5d.html

The select fields seem to be missing some CSS, in my old version they have a .form-control class.
I am also struggling with inline editing.
Is this an issue in editor 1.7.0 ?

Answers

  • taylor5042taylor5042 Posts: 21Questions: 6Answers: 0

    1.6.5 looks good.
    I had to add the inline activation and formoptions as shown below in order to convert from editor 1.5.6.
    But it seems to be working as intended.
    Am I missing any other gotchas in converting from 1.5.6 to 1.6.5 ???

        ],
        formOptions: {
            inline: {
                onBlur: 'submit'
            }
        }
    } );
    
    // Activate an inline edit on click of a table cell
    $('#table').on( 'click', 'tbody td:not(:first-child)', function (e) {
        editor.inline( this );
    } );
    
  • allanallan Posts: 62,002Questions: 1Answers: 10,164 Site admin

    Hi,

    Yes, I'm afraid there is a bug in Editor 1.7.0's Bootstrap integration in this area (see this thread). 1.7.1 will be released with the fix tomorrow.

    Allan

This discussion has been closed.