surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.09k stars 795 forks source link

Choices in Columns - Introduce a setting to specify the choice order (row/column) at the survey level #6689

Open JaneSjs opened 1 year ago

JaneSjs commented 1 year ago

Add an option which configures the choice layout for a survey so that it can be modified by survey creators.


          @jmar1998 Please set the following code before initialization the survey model:

Survey.settings.showItemsInOrder = "column".

  /**
   * By default checkbox and radiogroup items are ordered in rows.
   * Set it "column", and items will be ordered in columns.
   */
  showItemsInOrder: "default",

Thank you, Andrew

Originally posted by @andrewtelnov in https://github.com/surveyjs/survey-library/issues/2868#issuecomment-842294921

JaneSjs commented 1 year ago