locked
Js ComboTree Pluggin : to change the combotree background color into white RRS feed

  • Question

  • User-1355965324 posted

    Hi 

    I am using Javascript Combotree pluggin. At the moment combo tree  is transparent to the the screen color . So  the users cannot see the  the its content. Screen background color is blue  and the combo tree is transparent to the screen.  So I am trying to change its transparent into white.

    I wonder it is working in chrome browser perfect, but not working IE. So please can you help how to change its background color into white. Any help with code would be very appreciated. My code given below

    <div class="form-group">
                                        <label class="control-label control-label-left col-sm-3" for="field2">User Depots & Departments</label>
                                        <div class="controls col-sm-9">
                                            <input type="text" id="ddlDepotMapping" placeholder="Select" />
                                            <input type="hidden" id="hfDepotMapping" asp-for="SelectedDepotMapping" />
                                        </div>
    
                                    </div>

    I am calling the function in script

    <script>
    FillDepartmentsMappings(@ViewBag.DepotDepartmentMapping);
    </script>
    function FillDepartmentsMappings(defaultSelected) {
        $.ajax({
            type: "GET",
            url: "/User/GetDepotDepartemntsForMap",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (data) {
                $('#ddlDepotMapping').comboTree({
                    source: data,
                    isMultiple: true,
                    cascadeSelect: true,
                    collapse: true,
                    selected: defaultSelected
                    
                });
            },
            failure: function (response) {
                console.log(response.responseText);
            },
            error: function (response) {
                console.log(response.responseText);
            }
        });



    Thursday, August 27, 2020 9:02 AM

All replies

  • User-474980206 posted

    The plugin uses css variables in its style sheet. These are not supported by IE. You will need to downgrade the css file manually. It may use other css not supported by IE. 

    Thursday, August 27, 2020 2:52 PM