kartik-v / yii2-grid

Enhanced GridView with various utilities for Yii Framework 2.0
http://demos.krajee.com/grid
Other
557 stars 302 forks source link

Issue with DynaGrid Generation #987

Closed hkbertoson closed 3 years ago

hkbertoson commented 3 years ago

Prerequisites

Steps to reproduce the issue

  1. Create a Dyna Grid Table with a lot of columns
  2. Populate it with data
  3. Load The Page

Expected behavior and actual behavior

When I follow those steps, I see...

The fix for this issue is to set the div class of "rc-handle-container" with have an overflow of Hidden. This resolves the issue as shown in the screenshots.

Screen Shot 2021-07-08 at 10 30 29 AM Screen Shot 2021-07-08 at 10 30 40 AM

I was expecting...

Environment

Browsers

Operating System

Libraries

Isolating the problem

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kartik-v commented 3 years ago

Seems you have set floatHeader to true - if you set it to false your table overflows will be normal... With floatHeader set to true the behavior and styling is controlled by the third party Float Header plugin (which locks your table headers when you scroll).