title: Add linebreaks in Google forms grids & title
body: <p>I'm currently using the following Google script to add line breaks in <strong>questions</strong>:</p>
  
  <pre><code>function addLineBreaks() {
    var form = FormApp.getActiveForm(); 
  
    var multiplechoices = form.getItems(FormApp.ItemType.MULTIPLE_CHOICE);
    var date = form.getItems(FormApp.ItemType.DATE);
    var textbox = form.getItems(FormApp.ItemType.TEXT);
    var checkboxgrid = form.getItems(FormApp.ItemType.GRID)
    questions = multiplechoices.concat(date, textbox, checkboxgrid);
  
    for(i = 0; i &lt; questions.length; i++) {
      var title = questions[i].getTitle();
      if(title.indexOf("\n") &lt; 0) {
        questions[i].setTitle(title.replace(" | ", "\n"));
      }
    }
  }
  </code></pre>
  
  <p>My problem is that I cannot add line breaks to grid rows and general titles (Tt). I'm confident that it's because the script I'm using refers to <code>getTitle</code>, but couldn't get it to work with <code>getRows</code> or <code>setRows</code>. </p>
  
  <p>I don't mind having to add "|" and have it replaced later with a line break when the script runs, but I do need to find a solution regarding the grids (multiple choice grids rows only).</p>