jrglaber/dhtmlx 问题修复 & 功能扩展

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

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

jrglaber/dhtmlx

Composer 安装命令:

composer require jrglaber/dhtmlx

包简介

Biblioteca para trabalhar com DHTMLX Grid.

关键字:

README 文档

README

setEnableMultiselect(true) ->setEnableColumnAutoSize(true) ->setActive(true); $item = new Dhtmlx\DhtmlColumn("column1"); $item->label = "Coluna 1"; $item->type = \Dhtmlx\Functions\SetColTypes::TYPE_RO; $item->filter = Dhtmlx\Functions\AttachHeader::TEXT_FILTER; $item->width = 200; $item->align = \Dhtmlx\Functions\SetColAlign::ALIGN_LEFT; $dhtmlx->addColspan($item); $item = new Dhtmlx\DhtmlColumn("column2"); $item->label = "Coluna 2"; $item->type = \Dhtmlx\Functions\SetColTypes::TYPE_RO; $item->filter = Dhtmlx\Functions\AttachHeader::SELECT_FILTER; $item->width = 300; $item->sort = \Dhtmlx\Functions\SetColSorting::SORT_STR; $item->align = \Dhtmlx\Functions\SetColAlign::ALIGN_CENTER; $dhtmlx->addColspan($item); $dhtmlx->addRow(1, array("a1", "b1")); $dhtmlx->addRow(2, array("a2", "b2")); $dhtmlx->addRow(3, array("a3", "b3")); \Dhtmlx\Functions\SetRowHidden::getInstance()->id = 3; $dhtmlx->addFunction(\Dhtmlx\Functions\SetRowHidden::getInstance()); \Dhtmlx\Events\OnRowSelect::getInstance()->setFunction("alert('Linha de id ' + id);"); $dhtmlx->addEvent(\Dhtmlx\Events\OnRowSelect::getInstance()); echo $dhtmlx->rendererHeader(); echo $dhtmlx->rendererHtml(); echo $dhtmlx->render(); ?> <script> label = "Novo Label"; echo \Dhtmlx\Functions\SetColumnLabel::getInstance()->render(); ?> function cell(row,column){ idColumn = 'column'; \Dhtmlx\Functions\CellById::getInstance()->idRow = 'row'; echo "return " . \Dhtmlx\Functions\CellById::getInstance()->render(); ?> } var teste = cell(1,0); console.dir(teste.cell.innerHTML); </script>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-02