This afternoon, I began groping to use the grid extension to present the table, and now we can show the data, but clicking the exported icon does not show a list of options.
Now the page works as follows:
The code for the View section is as follows:
' Pjax ' + true,//load loading animation ' bordered ' = true, ' striped ' = false, ' condensed ' = false, ' responsive ' = = True, ' hover ' = = True, ' floatheader ' = = True, ' floatheaderoptions ' = [' scrollingtop ' = ' = 50],//' Showpagesummary ' + True, ' panel ' = [' heading ' = 'Countries
', ' type ' = ' success ', ' Before ' =>html::a ('Create country ', [' Create '], [' class ' = ' btn btn-success ']), ' after ' =>html::a ('Reset Grid ', [' get-school-in-province '], [' class ' = ' btn btn-info ']), ' footer ' =>false, ' export ' =>true, ' toolbar ' =>true,], ' exportconfig ' = [GridView::P df = = [' label ' = ' export csv ', ' I Conoptions ' = = [' Class ' = ' text-primary '], ' showheader ' = True, ' showpagesummary ' = = True, ' Showfooter ' = True, ' showcaption ' = ' = ', ' filename ' = ' user table '. Date ("y-m-d"), ' a Lertmsg ' = ' OK to export CSV format file? ' Options ' = = [' title ' = ', '], ' mime ' = ' application/pdf ', ' C Onfig ' = ' + [' coldelimiter ' and ', ', ' rowdelimiter ' and ' \ r \ n ',], gridview::html = [],//GridView::P df = [],
]
The error is as follows:
Why click the Export drop-down box in the top right corner, but nothing happens.
Ask questions!!!
Reply content:
This afternoon, I began groping to use the grid extension to present the table, and now we can show the data, but clicking the exported icon does not show a list of options.
Now the page works as follows:
The code for the View section is as follows:
' Pjax ' + true,//load loading animation ' bordered ' = true, ' striped ' = false, ' condensed ' = false, ' responsive ' = = True, ' hover ' = = True, ' floatheader ' = = True, ' floatheaderoptions ' = [' scrollingtop ' = ' = 50],//' Showpagesummary ' + True, ' panel ' = [' heading ' = 'Countries
', ' type ' = ' success ', ' Before ' =>html::a ('Create country ', [' Create '], [' class ' = ' btn btn-success ']), ' after ' =>html::a ('Reset Grid ', [' get-school-in-province '], [' class ' = ' btn btn-info ']), ' footer ' =>false, ' export ' =>true, ' toolbar ' =>true,], ' exportconfig ' = [GridView::P df = = [' label ' = ' export csv ', ' I Conoptions ' = = [' Class ' = ' text-primary '], ' showheader ' = True, ' showpagesummary ' = = True, ' Showfooter ' = True, ' showcaption ' = ' = ', ' filename ' = ' user table '. Date ("y-m-d"), ' a Lertmsg ' = ' OK to export CSV format file? ' Options ' = = [' title ' = ', '], ' mime ' = ' application/pdf ', ' C Onfig ' = ' + [' coldelimiter ' and ', ', ' rowdelimiter ' and ' \ r \ n ',], gridview::html = [],//GridView::P df = [],
]
The error is as follows:
Why click the Export drop-down box in the top right corner, but nothing happens.
Ask questions!!!
Is there a great God who understands this and asks for advice?