DHTMLX Usage Summary

Source: Internet
Author: User

1, the Dhtmlxgrid bottom always appears scroll bar

------------------------------------------

Discover when using Dhtmlxgrid

There are always scroll bars at the bottom of the GRID

Test: (1) with Dhtmlxgrid original file test, no;

(2) Copy the original document to the project;

(3) Add your own CSS, scroll bar appears.

Find out why: There is a problem with your CSS.

But their own CSS is not very convenient to modify, involving too much.

Use Firebug to see it a little bit.

Found: Gridbox has two DIV one is GRID_HRD, one is Grid_obj

div no problem set to 100% or there is

One more step. Grid_obj inside is a table,table set to 100% or scroll bar appears

Then see the TH in TR, found that I set the 150PX, not a particularly large,

And I remember what I set out to be

Mygrid.setinitwidths ("150,*");

How come it's so big?

Mygrid.setinitwidths ("150,600");

It doesn't appear, but I think the last line takes up the rest of the whole thing.

Mygrid.setinitwidths ("150,auto");

The scroll bar is missing.

  But there's a problem: The last column is full, but the column width is only self-adapting.

DHTMLX Usage Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.