Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by daniel lee on Oct 05, 2008 19:06
open dhtmlx forum
How rowspan use loadXML 'xmlb'

use loadXML -->>

<?xml version="1.0"?>
<rows>
<row id='0'>
        <msg_dv_cd2><![CDATA[E]]></msg_dv_cd2>
        <msg_dv_cd2_nm><![CDATA[error]]></msg_dv_cd2_nm>
        <msg_dv_cd1><![CDATA[S]]></msg_dv_cd1>
        <eng_msg_ctt><![CDATA[parse error]]></eng_msg_ctt>
        <korn_msg_ctt><![CDATA[parse error]]></korn_msg_ctt>
        <msg_cd><![CDATA[ME210082]]></msg_cd>
        <msg_dv_cd1_nm><![CDATA[SERVER]]></msg_dv_cd1_nm>
</row>
<row id='1'>
        <msg_dv_cd2><![CDATA[E]]></msg_dv_cd2>
        <msg_dv_cd2_nm><![CDATA[error]]></msg_dv_cd2_nm>
        <msg_dv_cd1><![CDATA[S]]></msg_dv_cd1>
        <eng_msg_ctt><![CDATA[parse error]]></eng_msg_ctt>
        <korn_msg_ctt><![CDATA[parse error]]></korn_msg_ctt>
        <msg_cd><![CDATA[ME210083]]></msg_cd>
        <msg_dv_cd1_nm><![CDATA[SERVER]]></msg_dv_cd1_nm>
</row>
</rows>

i want rowspan in grid

not want scrollbar


ex>

------------------------------
| a | b | c |
------------------------------ <--header
| d | e |
===============
| data1 | data2 | data3 |
------------------------------ <-- datagrid( this is one row data)
| data4 | data5 |
===============


how use grid function or script



Answer posted by Support on Oct 06, 2008 04:24
Rowspans is not compatible with xmlB format ( you still can set them programmatically ), they can be defined only from default xml format. 

>>not want scrollbar
mygrid.enableAutoHeight(true);
or
mygrid.enableAutoWidth(true);