restlin/grid 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

restlin/grid

Composer 安装命令:

composer require restlin/grid

包简介

Yii2/Grid widget with features

README 文档

README

Yii2 widget - is a default grid with features. This widget support changing page size from outbox, grouping features from Dosamigos\grid\GroupGridView and export to pdf.

For export to pdf you must set pdfAction (default - site/pdf).

Example action code (not ideal):

public function actionPdf($format = 'A4')
{    
    $html = Yii::$app->request->post('html','no data');
    $pdf = new \mPDF;
    $pdf->setFooter('page.{PAGENO} of {nb}');
    $pdf->AddPageByArray(['newformat' => $format]);
    $css = '<link rel="stylesheet" type="text/css" href="css/print.css"/>'; //example css
    $pdf->writeHtml($css.$html);
    $pdf->Output("output.pdf", "I");
}

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2016-09-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固