title: DHTMLX: how to put formatting into <afterInit> section in order to have the same result in all browsers?
body: <p><img src="https://i.stack.imgur.com/xprzN.png" alt="enter image description here"></p>
  
  <p>If I have the following <code>my.xml</code> file:</p>
  
  <pre><code>&lt;rowset&gt;
  
    &lt;head&gt;
      &lt;column width="60" hidden="false" type="ro"&gt;Col A&lt;/column&gt;
      &lt;column width="60" hidden="true" type="ro"&gt;Col B&lt;/column&gt;
      &lt;column width="60" hidden="false" type="ro"&gt;Col C&lt;/column&gt;
      &lt;column width="60" hidden="false" type="ro"&gt;Col D&lt;/column&gt;
  
      &lt;afterInit&gt;
        &lt;call command="attachHeader"&gt;
          &lt;param&gt;A,B,C,D&lt;/param&gt;
          &lt;param&gt;color:green;,color:red;,color:blue;,color:yellow;&lt;/param&gt;
        &lt;/call&gt;
      &lt;/afterInit&gt;
  
    &lt;/head&gt;
  
    &lt;row id="1"&gt;
      &lt;cell&gt;value1&lt;/cell&gt;
      &lt;cell&gt;value2&lt;/cell&gt;
      &lt;cell&gt;value3&lt;/cell&gt;
      &lt;cell&gt;value4&lt;/cell&gt;
    &lt;/row&gt;
    &lt;row id="2"&gt;
      &lt;cell&gt;value5&lt;/cell&gt;
      &lt;cell&gt;value6&lt;/cell&gt;
      &lt;cell&gt;value7&lt;/cell&gt;
      &lt;cell&gt;value8&lt;/cell&gt;
    &lt;/row&gt;
    &lt;row id="3"&gt;
      &lt;cell&gt;value-11&lt;/cell&gt;
      &lt;cell&gt;value-12&lt;/cell&gt;
      &lt;cell&gt;value-13&lt;/cell&gt;
      &lt;cell&gt;value-14&lt;/cell&gt;
    &lt;/row&gt;
  
  &lt;/rowset&gt;
  </code></pre>
  
  <p>and the following <code>.html</code> file</p>
  
  <pre><code>&lt;body&gt;
      &lt;div id="myGridContainer" width="799px" height="799px"&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;script&gt;
      myGrid = new dhtmlXGridObject('myGridContainer');
      myGrid.setSkin("xp");
      myGrid.xml.top="rowset";
      myGrid.attachHeader("A,B,C,D",["color:green","color:red;","color:blue;","color:yellow;"]);
      myGrid.load("my.xml");
  &lt;/script&gt;
  </code></pre>
  
  <p>then I will receive bad output in Firefox and Chrome. IE works fine. I will create the <code>.xml</code> manually, so I will not use <code>.attachHeader()</code>. But how to create the <code>&lt;afterInit&gt;</code> section with color definitions to have the same result?</p>