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

219
Views
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 answers
Answer question

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 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!