Articles in this section

How is the scrollpanel rendered in the target element?

The Scrollpanel is usually rendered in the immediate div of the target div element. Refer to the following code example.

HTML

<div id="content">

        <div>

            <!--Scrollpanel renders in this element-->

        </div>

    </div>

The Scrollpanel is initialized with the target property that it needs to be rendered. Here, the content is given with the attribute data-ej-target. Refer to the following code example.

HTML

<div id="scrollpanel" data-role="ejmscrollpanel" data-ej-target="content"></div>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied