Yii2 Kartik EditableColumn ajax post URL wont change -


this 1 of column gridview. url give me http://localhost/testing/apps/web/op/details/listing/particular

the url wanted

http://localhost/testing/apps/modules/op/controllers/listing/particular

i tried

'formoptions' => [ 'action' => ['/listing/particular'] ],

'formoptions' => [ 'action' => ['../listing/particular'] ],

'formoptions' => [ 'action' => ['apps/modules/op/controllers/listing/particular'] ],

the problem no matter how modified url, keep append whatever typed behind http://localhost/testing/apps/web/(what type) there anyway remove web thing?

[         'class'=>'\kartik\grid\editablecolumn',         'attribute'=>'particular',        'editableoptions' =>         [             'inputtype' => editable::input_text,             'formoptions' => [ 'action' => ['listing/particular'] ],             'options' => [              ]         ]     ], 

have tried using yii\helpers\url ?

use yii\helpers\url; url::toroute(['listing/particular']) 

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -