MOON
Server: Apache
System: Linux res.emeff.ca 3.10.0-962.3.2.lve1.5.24.10.el7.x86_64 #1 SMP Wed Mar 20 07:36:02 EDT 2019 x86_64
User: accemeff (1004)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: /home/accemeff/vendor/yiisoft/yii2-debug/src/views/default/panels/event/detail.php
<?php

use yii\grid\GridView;

/* @var $panel yii\debug\panels\EventPanel */
/* @var $searchModel yii\debug\models\search\Event */
/* @var $dataProvider yii\data\ArrayDataProvider */
?>
<h1>Events</h1>
<?= GridView::widget([
    'dataProvider' => $dataProvider,
    'id' => 'log-panel-detailed-event',
    'options' => ['class' => 'detail-grid-view table-responsive'],
    'filterModel' => $searchModel,
    'filterUrl' => $panel->getUrl(),
    'columns' => [
        [
            'attribute' => 'time',
            'value' => function ($data) {
                $timeInSeconds = floor($data['time']);
                $millisecondsDiff = (int) (($data['time'] - (int) $timeInSeconds) * 1000);
                return date('H:i:s.', $timeInSeconds) . sprintf('%03d', $millisecondsDiff);
            },
            'headerOptions' => [
                'class' => 'sort-numerical'
            ]
        ],
        [
            'attribute' => 'name',
            /*'headerOptions' => [
                'class' => 'sort-numerical'
            ],*/
        ],
        [
            'attribute' => 'class',
        ],
        [
            'header' => 'Sender',
            'attribute' => 'senderClass',
            'value' => function ($data) {
                return $data['senderClass'];
            },
        ],
        [
            'header' => 'Static',
            'attribute' => 'isStatic',
            'format' => 'boolean',
        ],
    ],
]); ?>