Skip to content

Commit 73f0882

Browse files
authored
Merge pull request #497 from atk4/fix/#493-Grid-Loader
Grid will display loader while fetching data
2 parents ab67872 + 21d2a3e commit 73f0882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function init()
8686
{
8787
parent::init();
8888

89-
$this->container = $this->add(['View', 'ui'=>'', 'template' => new Template('<div id="{$_id}"><div class="ui table atk-overflow-auto">{$Table}{$Content}</div>{$Paginator}</div>')]);
89+
$this->container = $this->add(['View', 'ui'=>'ui basic segment', 'template' => new Template('<div id="{$_id}" class="{$_class} {$class}"><div class="ui table atk-overflow-auto">{$Table}{$Content}</div>{$Paginator}</div>')]);
9090

9191
if ($this->menu !== false) {
9292
$this->menu = $this->add($this->factory(['Menu', 'activate_on_click' => false], $this->menu), 'Menu');

0 commit comments

Comments
 (0)