Comments (9)
When u re-generate using enhanced gii, there's some check box upper right the table. U might want to check that (create, overwrite, unchanged)
from yii2-enhanced-gii.
And don't forget to check expandable index check box
from yii2-enhanced-gii.
I used enhanced gii to re-generate with expandable index check box checked,
ex : Generating code using template ....\pascal\advanced\vendor\mootensai\yii2-enhanced-gii\crud/default"
skipped models\EscaleSearch.php
overwrote controllers\EscaleController.php
skipped views\escale_form.php
skipped views\escale_pdf.php
skipped views\escale_script.php
skipped views\escale_search.php
skipped views\escale\create.php
skipped views\escale\index.php
skipped views\escale\update.php
skipped views\escale\view.php
done!
As file "_data.php" was previously one time generated and deleted, Now when updsate for some change, _data.php file is not generated or re-generated,
from yii2-enhanced-gii.
You need to check the 'expandable' check box *I forgot the label*
from yii2-enhanced-gii.
Expendable check box " Expandable Index Grid View " is well checked, but _date.php file does not appear when preview
from yii2-enhanced-gii.
Strange... I've test it on my local and it's fine.. which version are you using? Is it @dev version?
from yii2-enhanced-gii.
"mootensai/yii2-enhanced-gii": "@dev",
from yii2-enhanced-gii.
Hmm.. I tried and it always generate _data.php file.. the file should be _data.php, and _dataRelated.php only.. there's no related_data.php
Maybe you need to create a new project.
If you want to ask anything, use https://gitter.im/mootensai/yii2-enhanced-gii
from yii2-enhanced-gii.
I'm not sure this is an issue yet, so I'll close this for now till we're sure this is an issue.
We'll continue this at https://gitter.im/mootensai/yii2-enhanced-gii
from yii2-enhanced-gii.
Related Issues (20)
- In model generator tinyint create rules as string
- No results found. HOT 1
- Error when the instance of a model is created - Softdelete and Blameable Behavior HOT 1
- Custom Model Template HOT 1
- PHP version HOT 1
- wrong table name generated when table name has "_" in it HOT 1
- When I updated the master record, the child record on all related tables is soft deleted. HOT 1
- Generate migration column tinyint give error result
- Can't detect if in the model function beforesave the object is soft deleted HOT 1
- "Call to a member function getColumnNames() on null" HOT 1
- Open redirect in crud/default/views/_form.php HOT 2
- Models and CRUD generation in batch command HOT 1
- Edit Generator Code HOT 3
- PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: HOT 2
- Model generation getRelations() bug
- Auto increment primary keys fails HOT 3
- bit, tinyint to boolean
- deletedByValueRestored is always 0
- HasMany: Update > valdiation error Message > update again >The object being updated is outdated. HOT 1
- Switch to twig or another templating engine? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-enhanced-gii.