Is generator not working as intended?

Is generator not working as intended?

razethrazeth Posts: 4Questions: 2Answers: 0

I just tried using the DataTables Editor generator, however it appears that almost none of the "customization" settings for extensions are working. Is anybody else experiencing this issue?

This question has an accepted answers - jump to answer

Answers

  • razethrazeth Posts: 4Questions: 2Answers: 0

    To elaborate, the settings are not being pushed into the "javascript" download files or the viewer. It should, for example, put "scrolling" in the file when selected, except it doesn't appear to do so.

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin
    Answer ✓

    Hi,

    If I go to Generator and fill in:

    Table: test
    Field name 1: a
    Field name 2: b
    Field name 3: c

    then click the "Customize" button for the libraries and select "Scroller", then "Done" and then "Run now" the table is generated correctly and includes the Scroller library from the CDN. But it doesn't activate Scroller. Is that the problem you are having with it? You'd need to add scrollY: 400 (or similar) to the DataTable initialisation (and scroller: true if you wanted to use the Scroller extension).

    Generator isn't designed to be a wysiwyg tool for all the DataTables and Editor options - its just a quick start tool only.

    Allan

This discussion has been closed.