Table width

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
christ2000
User
Posts: 519

Table width

Post by christ2000 »

the difference is for example in 2019 table load 100% width in 2020 table load 80% width and then load to 100% width, the is a delay, different load time.

thanks


Webmaster
User
Posts: 9427

Post by Webmaster »

v2020 uses asynchronous JavaScript loading so users see page content earlier than before (no more blocking), so you may feel different.

Not sure what you meant by 80% then 100% width, you might be talking about responsive table table or Scrolling Table. If you are a registered user, you can send your project to support: https://phpmaker.dev/support.php.


christ2000
User
Posts: 519

Post by christ2000 »

i think is the scrolling table extension that do not run properly. what i mean is table load to 75% page withd and then extend to 100%


arbei
User
Posts: 9390

Post by arbei »

By default a table is not 100% wide, it depends on the width of its content. Scrolling Table extension allows you set the width and height, the table width is set when scrolling table is initiated after the required JavaScript is loaded so there is some delay. If you want your table always 100% width, you can add CSS under HTML > Styles > User, e.g. if your table named "cars", you can add:

.ew-grid.cars { /* Press F12 in your browser, go to the Elements panel to check the exact class name */
width: 100% !important;
}

If you want all tables 100%, simply use, e.g.

.ew-grid {
width: 100% !important;
}


christ2000
User
Posts: 519

Post by christ2000 »

Thanks, this was the solution

.ew-grid {
width: 100% !important;
}


Post Reply