The problems about dataview...

<script type="text/javascript">
       dhx.ui({
                view:"window",
                height:600,
                width:800,
                left:50,
                top:50,
                head:{ view:"toolbar", type:"MainBar", data:[
                        { type:"label", label:"Packages" },
                        { type:"button", label:"Download", align:"right" }
                    ]},
                body:{
                    view:"dataview",
                    type:{
                        template:"<div><div><span class='dhx_strong'>#Maintainer#</span></div><div>#Package# </div><div><span class='dhx_light'>#Version#</span></div></div>",
                        width:350,
                        height:100
                    },
                    select:true,
                    url:"./data/data.xml",
                    datatype:"xml"
                }
            });
        </script>

Hello,friend!
I found that the selected style can not filled with the dataview item , how do?


Hello tanqimin,

try to adjust the dhx_dataview_default_item_selected class. The standard background-image isn’t tall enough.

.dhx_dataview_default_item_selected { background: url("./imgs/horizontal_repeat_bgs.png") repeat-x scroll 0 -747px transparent; }

Try for example a background-color instead of a background image or use a taller background image.

Hopes that helps

Best regards

Horst Mürdter
Crossdata-Tools

Thanks, horst,
problem has been solved, thank you for your help!