Can you confirm that the scrollTo() function works on the PageList and GroupList controls? I am attempting to scroll one and it will not work for me.
On an added note, the scrollState function works only in your newest release, but when I change to the newest release, the rest of my website is drastically changed CSS-wise and looks terrible.
css files of dhtmlx.touch doesn’t set any global css rules, so they must not affect anything outside of dhtmlx.touch controls.
If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.
I should have been more specific, I apologize. I made my own types of buttons, labels etc. off of your existing css scripts, but upon upgrading, my changes seem to be redundant. What large changes were made in the style sheets?
Also, regarding the scrollTo function. Can you confirm this is working properly? I cannot seem to get it working properly.
Sorry to jump in again before you have a chance to answer Stanislav, but I have realized that the problems I am encountering with my styles are not due to the css but the new JS file. What has happened is that when i use the new JS file, all of my alterations to your buttons, labels etc. are reverted.
For example, I used the following to change the appearance of the buttons:
.custombutton .dhx_el_button{
background:#FFFFFF;
color:#000000;
padding:0px 0px;
height:50px;
}
.custombutton .dhx_el_button input{
background:#FFFFFF;
border:none;
height:50px;
font-size:14px;
padding-bottom:15px;
color:#000000;
-webkit-appearance:none;
}
However, after changing to the new JS, those seem to be overwritten… why is this?
P.S. I still can’t get scrollTo functionality working.
Change class names as
.custombutton.dhx_el_button{
background:#FFFFFF;
color:#000000;
padding:0px 0px;
height:50px;
}
.custombutton.dhx_el_button input{
the custom css class and .dhx_el_button are assigned to the same container ( unnecessary extra DIV was removed to simplify DOM )
Thank you Stanislav, it’s working properly now.
In regards to the scrollTo functionality of PageLists and GroupLists… Can you confirm or deny that they are working?
Hello,
scrollTo works for both lists. However, data should be loaded in list before this method is called. If you want to scroll a list initialy, you may set “ready” attribute or onXLE event handler:
dhx.ui({
view:"grouplist",
id:"mylist",
url:"...",
ready:function(){
scrollTo(0,100)
},
...
});
or
$$("mylist").attachEvent("onXLE",function(){
$$("mylist").scrollTo(0,100);
});
Unfortunately I cannot seem to get the PageList scrolling in the x-direction.