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

Commit

Permalink
Modify code style
Browse files Browse the repository at this point in the history
Modify code style
  • Loading branch information
pgyf committed Nov 26, 2015
1 parent 49755e8 commit 7f93444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TreeGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function renderTableRow($model, $key, $index)

$parentId = ArrayHelper::getValue($model, $this->parentColumnName);
if ($parentId) {
if('collapsed' == ArrayHelper::getValue($this->pluginOptions, 'initialState')){
if(ArrayHelper::getValue($this->pluginOptions, 'initialState') == 'collapsed'){
Html::addCssStyle($options, 'display: none;');
}
Html::addCssClass($options, "treegrid-parent-$parentId");
Expand Down

0 comments on commit 7f93444

Please sign in to comment.