contributte / datagrid

:muscle: DataGrid for Nette Framework: filtering, sorting, pagination, tree view, table view, translator, etc
https://contributte.org/packages/contributte/datagrid/
MIT License
285 stars 189 forks source link

Fixed datagrid table data-attribue, fixed CSS #1104

Closed paveljanda closed 8 months ago

paveljanda commented 8 months ago

Previously, datagrid was using:

class="datagrid datagrid-{$control->getFullName()}"

In the next branch, it was change to:

data-datagrid-{$control->getFullName()} 

even though I think the intentions was different. The MR makes it so:

data-datagrid-name="{$control->getFullName()}"

Also, all CSS was fixed.