Showing 61-80 of 166 items.

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created 11 years ago by Scott_Huang Scott_Huang, updated 11 years ago by Scott_Huang Scott_Huang. 1 comment

To generate excel by query content, and download through any controller. You also can bind cssClass to header/odd/even rows. As for header, you even can set cssClass for each column.

$this->export2excel($excel_content,$excel_file);

in your controller.

2 0
2
Viewed: 29 721 times
Version: 2.0
Category: Tutorials

Load data from internal/external source to fill form fields

Created 11 years ago by skworden skworden, updated 11 years ago by skworden skworden. 6 comments

This wiki is to show you how to use jQuery get and JSON to get data from a dropdown/any form field and fill form fields with the values instantaneously. First, I'll give example use cases of what I'm going to teach you so you can quickly see if this is for you.

1 0
5
Viewed: 40 745 times
Version: 2.0
Category: How-tos

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 11 years ago by Wade Shuler Wade Shuler, updated 11 years ago by samdark samdark. 10 comments

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Created 11 years ago by skworden skworden, updated 8 years ago by Yii3 Yii3. 26 comments

There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

21 0
28
Viewed: 265 950 times
Version: 2.0
Category: How-tos