Questions tagged [kartik-v]

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

281 questions
0
votes
3 answers

yii2 action colum hidden still visible

I want to hide a column in my gridview using kartik gridview. But when i do something like that : $gridColumns = [ [ 'class' => 'kartik\grid\DataColumn', 'attribute'=>'name', 'hidden' => 'true', ], My column is still visible .
Jimo
  • 3
  • 2
0
votes
1 answer

why search return same rows in gridview yii2 kartik

I am facing a problem with filtering. I have created a grid view that contain a list of data from related tables. what I'm facing is : How can I sort data ( I can only sort the data received from the parent table)? why the search always return…
0
votes
1 answer

PHP: Set second dropdown options based on first dropdown choosen option using kartik Select2

I've an application using yii2 framework. I'm trying to use select option (dropdown select), and I use Kartik Select2. This is the view of my select option In pics above you can see I've two select option, but I've condition. This is the…
Blackjack
  • 1,016
  • 1
  • 20
  • 51
0
votes
1 answer

Yii2: Kartik InputFile show "Single File Upload Failed" error message in progress bar

I have a application using Yii2 basic framework, and I'm using Kartik InputFile for upload file. The file successfully uploaded to the system, and the page also successfully redirect to next page, but a few second before the page redirect to next…
Blackjack
  • 1,016
  • 1
  • 20
  • 51
0
votes
1 answer

change yii2 kartik fileInput language not working

I have a problem with kartik's FileInput widget. I want to change the language but it's not working here is my code field($model, 'imageFiles[]')->widget(FileInput::classname(), [ 'options'…
leila
  • 461
  • 1
  • 7
  • 21
0
votes
1 answer

Yii2 two gridviews with editable columns within one form

I would like to display two Kartik's Gridviews (with editable columns) within one form. The problem is, if i would like to edit a value in the second gridview, the editable popup opens for the coresponding row in the first gridview. Looking into the…
Luc
  • 365
  • 4
  • 22
0
votes
1 answer

Yii2 popover-x within modal

I got a modal like that. Now i want to add Kartik's Popover X to the injected form.
sometext

'; echo PopoverX::widget([ 'id' => 'ownShit', …
Luc
  • 365
  • 4
  • 22
0
votes
1 answer

yii2 Kartik: Editable (Multi-)Select2 in GridView doesn't show loaded data

I tried to set up Kartik Gridview with Editable Columns. One Column is of type INPUT_SELECT2. In the View i have the following definition: $gridColumns = [ [ 'class'=>'kartik\grid\EditableColumn', 'attribute'=>'occupation_ids', …
Luc
  • 365
  • 4
  • 22
0
votes
2 answers

Integrity constraint violation error while implementing multiselect dropdown in yii2

I am trying to implement multi-select drop down using "cornernote/yii2-linkall " and "kartik-v/yii2-widget-select2". I have followed this guide and it works good for single multi-select drop down, so now I'm trying to implement two multi-select drop…
Rachna
  • 39
  • 13
0
votes
1 answer

How do I can remove the label above input file form?

I've an application that was developed using Yii2, and this application I've use Kartik Input File for upload file. Case From the example above, I want to remove / hide the "File" label. And I think, that label based on model name. This is the code…
Blackjack
  • 1,016
  • 1
  • 20
  • 51
0
votes
1 answer

Using kartik SideNav widget in yii2

I am using kartik SideNav widget in my project. I want the menu active and open when I click on it but it not works.Actually I dont know about $item and $type variables that how to use in the sidenav. thanx in advance for solving it. my code is…
mansoor
  • 43
  • 8
0
votes
3 answers

Yii2: Kartik Gridview: How to hide the expand/collapse icon column/use only clickable row instead

Using Kartik Gridview, I have the following ExpandRowColumn in my view (Kartik Gridview) where I have enabled the rows in the grid to be clicked and expanded (to show related detail record) with the enableRowClick option and would like to hide the…
Mark C.
  • 576
  • 1
  • 8
  • 23
0
votes
2 answers

Extend kartik GridView widget class - Advanced application yii2

I want to create a new class that extend from yii2 Kartik gridview namespace mywidget\grid; use kartik\base\Config; use kartik\dialog\Dialog; use kartik\mpdf\Pdf; use Yii; use yii\base\InvalidConfigException; use yii\bootstrap\ButtonDropdown; use…
soussou
  • 41
  • 6
0
votes
0 answers

use kartik editable without form submit ; just to change value

I want to use kartik editable plugin in gridview but without submitting form, it should just change the value visibly
-1
votes
1 answer

How to remove repetitive rows from kartik GridView?

Is it possible to remove repetitive rows from Kartik GridView. The table have repetitive data. But I don't want to show them all in grid. How can I solve this issue?
1 2 3
18
19