You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a double key, the value of data-key is as follows:
data-key= "A:2:{s:2: "Id" ; s:19:" 144703302436491058 "; payment_time" s:12: "; i:0;}"
The results are CollapseAll and expandAll do not work
If there are multiple primary keys in the table also can not work
$detailOptions['data-key'] = is_object($key) ? serialize($key) : (is_array($key) ? json_encode($key) : $key);
If there is a double key, the value of data-key is as follows:
data-key= "A:2:{s:2: "Id" ; s:19:" 144703302436491058 "; payment_time" s:12: "; i:0;}"
The results are CollapseAll and expandAll do not work
Modify
https://github.com/kartik-v/yii2-grid/blob/master/ExpandRowColumn.php#L350
to
$detailOptions['data-key'] = is_object($key) || is_array($key) ? json_encode($key) : $key;
CollapseAll and expandAll can work,But does not show Loading
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: