Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
Al desplazarse hacia abajo, cargue los datos dinámicamente en cgridview yii

En yii estoy usando el widget Cgridview con paginación. En lugar de eso, necesito cargar los datos dinámicamente mediante el evento de desplazamiento hacia abajo. ¿Hay alguna extensión?

Este es el widget que estoy usando.

 <?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'leave-approve-grid', 'itemsCssClass'=>'table table-bordered table-condensed table-hover table-striped dataTable', 'filter'=>$model, 'dataProvider'=>$model->approve_search(), 'enablePagination' => true, 'pagerCssClass'=>'dataTables_paginate paging_bootstrap table-pagination', 'pager' => array('header'=>'','htmlOptions'=>array('class'=>'pagination')), 'columns' => array( array(name=>'type_id', 'value'=>'$data["leave_type"]','header'=>'Leave type','filter'=>CHtml::activeDropDownList($model,'type_id',CHtml::listData($model->SelectAllLeaveType(),'type_id','type'),array('prompt'=>'All'))), array(name=>'staff_name','value'=>'$data["staff_name"]','header'=>'Staff Name'), ), ) );
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

No, Yii gridview no tiene ninguna opción para el renderizado inteligente . Debe usar complementos de cuadrícula de datos de jquery que tengan esta función. He usado el complemento jqGrid y esta es una cuadrícula de datos muy buena que tiene esta característica y muchas otras características.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!