Depdrop with tabular step

            'user'=>[
                    'widget' => '\kartik\widgets\DepDrop',
                    'options'=>function($options){
                        unset($options['type']);
                        unset($options['itemsList']);
                    },
                    'options'=>[
                        'type' => DepDrop::TYPE_SELECT2,
                        'options'=>[
                            'placeholder' => 'Select ...'
                        ],
                        'select2Options' => ['pluginOptions' => ['allowClear' => true]],
                        'pluginOptions' => [
                            'initialize' => true,
                            'depends' => [
                                    "approvalissue--jabatan_code"
                            ],
                            'url' => Url::to(['/issue/issue/subcats'])
                        ],
                    ],

                    //set tabular events for select2 fix which doesnot work correctly after cloning
                    'tabularEvents' => [

                        'beforeClone' => "function(event, params){
                            //fix for select2 destroy the plugin

                            let element = $(this);
                            element.select2('destroy');
                        }",
                        "afterClone" => "function(event, params){
                            //bind select2 again after clone

                            // alert($(this).attr('data-select2-id'))
                            let element = $(this);
                            let elementId = element.attr('select2-id');
                            let dataKrajee = eval(element.data('krajee-depdrop'));
                            let dataSelect2Options = element.data('krajee-depdrop'); 

                            $.when(element.data(dataKrajee)).done(initS2Loading(elementId, dataSelect2Options));
                        }",
                        "afterInsert" => "function(event,params){
                            //initialize the options for the select2 after initializing;
                            let selectElement = $(this).find('.field-approvalissue-'+params.rowIndex+'-user > select');
                            let dataKrajee = eval(selectElement.data('krajee-depdrop'));
                            
                            selectElement.select2(dataKrajee);
                        }"
                    ]
            ],
        ]
    ],

Thats my code,
i want to make depdrop in tabular step formwizard, but i have a problem configure depends to be dynamic?
anyone can help me please?