Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Commit

Permalink
Added TreeGrid::$emptyTextOptions property
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrogehlen committed Aug 14, 2015
1 parent 7062653 commit 56db8d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TreeGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ class TreeGrid extends Widget {
*/
public $emptyText;

/**
* @var array the HTML attributes for the emptyText of the list view.
* The "tag" element specifies the tag name of the emptyText element and defaults to "div".
* @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
*/
public $emptyTextOptions = ['class' => 'empty'];

/**
* @var boolean whether to show the header section of the grid table.
*/
Expand Down

0 comments on commit 56db8d3

Please sign in to comment.