X
X
xatabu42015-08-17 13:22:28
JavaScript
xatabu4, 2015-08-17 13:22:28

Yii Gridview how to do single cell update using ajax?

The point is this!
There is a table with product data that is displayed by the gridview widget!
How can I change its value by clicking on a separate cell of this table! (Overwrite the database and, of course, the cell itself)
Example
!
dc4a1e0ca8444f6e9656cb2164c71acb.PNG
Explain how to implement this! It is desirable, of course, to throw in the beginning of the code that will solve this problem, so that I myself would think of it later. But just an algorithm how to implement this and specific articles with code to help will doge!
I warn you in advance, I'm a beginner, I'm just learning UI, so don't swear if I said something wrong! I would be grateful!
Everyone who helps buns to karma)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
corpsepk, 2015-08-17
@corpsepk

Alternatively, use the excellent plugin https://github.com/kartik-v/yii2-editable
*if we are talking about yii2

V
Vit, 2015-08-17
@fornit1917

For Yii 1.1 there is YiiBooster yiibooster.clevertech.biz/widgets/editable/view/co...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question