Used for questions related to kartik widgets, components, behaviors developed mostly for Yii2 Framework. Some of the popular widgets are katik\select2, kartik\dateTimePicker etc
Questions tagged [kartik-v]
281 questions
0
votes
2 answers
Yii2 kartik DatePicker in modal issue
The kartik's DatePicker is not renders calendar when input clicked if DatePicker positioned in the modal rendered by renderAjax method.
controller:
$this->renderAjax('modal');
modal.php:
= DatePicker::widget(['name' => 'test']) ?>
Outside of…

Mykyta Popov
- 57
- 1
- 8
0
votes
2 answers
two kartik\grid\GridView tables share same pagination get variable
i have two kartik\grid\GridView tables with pagination on same page. When I change page of first table, second table change its page too. They share same $_GET parameter page and per-page.
Any option to set pagination get variable names or any other…

Daniel Lagiň
- 698
- 7
- 18
0
votes
2 answers
How to get a Yii2 GridView Column to put NULL values at the end for both sort orders?
I have a column of data that has some numeric values but occasionally has NULL values in it, e.g.:
Name Algebra Band Chemistry
Abel 3 6 2
Baker 5 NULL 4
Charlie NULL 2 NULL
Delta 4 NULL…

onigame
- 214
- 3
- 10
0
votes
1 answer
How to set punctuation in Yii2 form text field?
I've a form in my Yii2 application. I'm using Kartik\form\activeFor.
This is a little view of my form
And this is the code
'jumlahBruto' => ['type' => Form::INPUT_TEXT, 'options' => ['placeholder' => 'Nilai Total Bruto...'];
How do I can set the…

Blackjack
- 1,016
- 1
- 20
- 51
0
votes
1 answer
Checkbox for each item in select2 multiple select
im using select2 multiple select, in this Im getting all items on search, even i have option of selectAll and Unseclect All. But what i want is to have checkbox in front of all items. it is like tags, So that he can check items at once and Done..…

Salman Riyaz
- 808
- 2
- 14
- 37
0
votes
0 answers
an attribute is not saved to $model [kartik, select2 widget]
$url = \yii\helpers\Url::to(['/agitator/grs-data/personalnos']);
personal_no) ? '' : GrsData::findOne($model->personal_no)->personal_no;
echo $form->field($model,…

MEDER aka
- 1
- 3
0
votes
1 answer
Kartik Datetime picker yii2
I am using Kartik Date picker.
in database I am using timestamp. but checkout value is not set. it shows (not set)

siddhi
- 19
- 4
0
votes
1 answer
How create radio button with dynamic value for images?
I want to flag a image with radio button and send it inside the form, i need the value of this button Be the name of that image, my code in view is:
= $form->field($model, 'imageFiles[]')->widget(FileInput::classname(), [
'options' =>…

MHF
- 211
- 2
- 14
0
votes
0 answers
yii2 kartik 'fileActionSettings' not working
My code is:
= $form->field($model, 'imageFiles[]')->widget(FileInput::classname(), [
'options' => ['multiple' => true, 'accept' => 'image/*', 'id'=>'inputFile'],
'pluginOptions' => [
'rtl'=>'true',
'fileActionSettings'=>['showZoom'=>true,…

MHF
- 211
- 2
- 14
0
votes
0 answers
Editable Column not working in Kartik Expand Row Grid
Updated data not getting posted. I'm using kartik advanced grid and kartik editable.
editableAjaxError not returning any errors. The actual column updates but it doesn't seem to submit form data (the editable popup data)
Update: Added indexAction,…

madphp
- 1,716
- 5
- 31
- 72
0
votes
0 answers
Kartik grid yii2 add the data in cells form row
I saw the examples where kartik grid add the data of the column and show in the footer. But what I want is to add the data in row cell of the same column and show it in the next next. Something like this :
Row Sum
7.5 22.5
7.5
7.5

Ish
- 2,085
- 3
- 21
- 38
0
votes
1 answer
How to add title in document that we download using export kartik in Yii2?
I want to add title in my exported file.
I'm using kartik Export in Yii2. The result that I expected is like this:
Here is my view:
https://pastebin.com/HDeuQnfj
Could anyone please help me to find the solution? It will help me a lot. Thanks in…

r34627673
- 293
- 3
- 18
0
votes
0 answers
Yii2 - Export Kartik-v
I have many tables that can be displayed in Yii2. One of them is like this:
We can download the table by clicking download button. Many tables can be download one by one. One table can only download its table. Actually, I want all of tables can be…

r34627673
- 293
- 3
- 18
0
votes
1 answer
yii2 upload file inside dynamic form return unrecognized expression
I have my dynamic form using wbraganca widget and kartik file upload inside it. When I open the page, the field was just showing spinner image instead of a textfield and the console display "unrecognized expression:…

Danry
- 21
- 6
0
votes
1 answer
Yii2 Fileinput widget initializing after renderAjax
I am completely lost for two days and have no clue how to fix this nonsense!
I use fileinput widget in my page like this:
echo FileInput::widget([
'name' => 'attachment_product[]',
'id' => 'img_products',
…

Dominykas55
- 1,231
- 14
- 45