title: Repeating command in gwt
body: <p>I use flex table to show the data fetched from db. When table contains a large amount of columns it takes much time to render the flextable(I've tested it on table with 80 columns and 38 rows) and while it is not completely rendered I can not do anything with a page. So i use <code>Schedule.get().scheduleIncremental(ReapitingCommand command)</code> as follows:</p>
  
  <pre><code>final int  WORK_CHUNK = 2;    
  Scheduler.get().scheduleIncremental(new RepeatingCommand() {
              int rowCounter = 0;
  
              @Override
              public boolean execute() {
              for (int i = rowCounter; i &lt; rowCount; i++, rowCounter++) {
                  for (int j = 0; j &lt; columnCount; j++) {
                  table.setText(i, j, data.get(i)[j]);
                  }
                  if (rowCounter % WORK_CHUNK == 0)
                  return true;
              }
              return false;
              }
          });
  </code></pre>
  
  <p>But if i have 9 rows and 3 columns in <code>data</code> object it only render 2 rows.
  How I can improve its performance, because as I said earlier if have 38 rows and 80 columns it takes too much time to render all the data without <code>scheduleIncremental</code>. Even browser popups the window that script may have stoped responing.</p>