Question

The below Div is not showing up even if i make visible: true

        <div id="filterPart" data-bind="visible:$root.shouldShowDropDown" > 
        <section class="individual t-padding1 t-border">
            <g:render template="/admin/adminMessageDropDownMenu"/>
        </section>
        </div>

I am setting the value as true in .js file as below

self.shouldShowDropDown(true);

but still Div is not becoming visible.I think i should right something like

<div id="filterPart" data-bind="visible:$root.shouldShowDropDown,valueUpdate:[]" >

valueUpdate in data-bind to reflect the value(i mean to make visible)? I am not getting exactly what i need to write....

Was it helpful?

Solution

Hi friends this was happening due to code crash as the code was not executing fully. There was a network problem, POST request was getting failed so it was not retrieving any data from database so the application was not running properly

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top