Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

221
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda