kartik-v / yii2-grid

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

Documentation and code mismatch #1050

Closed REWesker closed 1 year ago

REWesker commented 1 year ago

Prerequisites

Steps to reproduce the issue

Sorry if this is wrong place to file documentation issue, I haven't found another Documentation at https://demos.krajee.com/grid does not fully represent current code state

Expected behavior and actual behavior

per documentation: responsiveWrap: boolean, whether the grid table columns will be responsively wrapped to a single column for small screen devices (less than 480px). Defaults to false. (emphasis mine)

at https://github.com/kartik-v/yii2-grid/blob/6e02d25feeb19d8bab82354ea25dcdb9189c37c3/src/GridViewTrait.php#L409 however the parameter is set to true by default

I can't determine which one of two options is expected behaviour