Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

225
Vistas
On scroll down load data dyanamicaly in cgridview yii

In yii i am using Cgridview widget with pagination. Instead of that i need to load the data dynamically by scroll down event. Is there any extension?

This is the widget i am using.

<?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 Respuestas
Responde la pregunta

0

No, Yii gridview does not have any option for smart rendering. You should use jquery data grid plugins that have this feature. I have used jqGrid plugin and this is a very good data grid that has this feature and so many other features.

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda