Questions tagged [zfdatagrid]

ZFDatagrid is a Zend Framework component that allows you to create data grids from various sources.

Data grid for Zend Framework

Description

ZFDatagrid is a Zend Framework component that allows you to create data grids from various sources. Please see http://code.google.com/p/zfdatagrid for more information

License

ZFDatagrid is released under the New BSD license, see license.txt

Requirements

  • Zend Framework 1.10 or greater

Contact

http://zfdatagrid.com info@zfdatagrid.com

14 questions
3
votes
2 answers

Conditional Fields Presentation

I have a table with 4 field named as Rowid,Customermainid,company,email. I wanna add class attribute to the particular row which satisfies the following condition Rowid > 28 for differentiate them I have searched a lot and get…
DRAJI
  • 1,829
  • 8
  • 26
  • 45
2
votes
2 answers

ZFDataGrid table width

I'm using zfdatagrid to display a table within a Zend app. How do i fix the width of the table? I can't find any setting in the grid.ini. public function displaytemptableAction() { $config = new…
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
1
vote
3 answers

zfdatagrid date format

I am using ZF 1.11, PHP 5.3, Windows and the most recent version of zfdatagrid. I use $grid->updateColumn('birthday', array('format'=> array('date',array('date_format' => 'dd-MM-yyyy')))); to display an attribute "birthday" as dd-MM-yyyy. When…
itsame69
  • 1,540
  • 5
  • 17
  • 37
1
vote
1 answer

How to edit cell Zfdatagrid

how I can make editing row using ajax with zfdatagrid, thanks ZF 1.11 - My Bootstrap protected function _initZfdatagrid() { $this->_config = new Zend_Config_Ini(APPLICATION_PATH .'/configs/grid.ini', 'production'); Zend_Registry::set('config',…
1
vote
1 answer

How to set the relative order of columns with a zfdatagrid?

To those of you who are familiar with zfdatagrid for the Zend framework: I got a recordset by a JOIN query, say from tables s and t, now I want to set the order in which the columns appear in the deployed table. For example, 5th column of table t to…
user522350
  • 13
  • 3
1
vote
0 answers

How do I use zfdatagrid library in my application

I am seeking to learn how to implement a grid in an application I am working on and I figured I will use zfdatagrid as it seems to take care of some of the features I need. However there is not much by way of tutorial on the net. Probably because…
Napoleon
  • 879
  • 2
  • 14
  • 36
1
vote
1 answer

zfdatagrid and jqgrid: subgrid is not loading

I am using Zend Framework that's why I decided to use "zfdatagrid deploy jqgrid" instead of using jqgrid straight away. I want to have jqgrid with subgrid. Grid is shown ok, but when I click expand button then I get notice "Loading" but nothing…
Auris
  • 61
  • 7
0
votes
1 answer

How to Update a column in ZFDataGrid using a condition?

I am updating a column(NAME) in my grid table using $grid->updateColumn command. But i need to update that column based on a condition. This is the command i am using now, to convert the 'NAME' column into…
0
votes
1 answer

How to show a column in Excel Export in a ZFDATAGRID and hide the same column in the GRID display?

I have a column 'ID' in my grid, i am hiding that column from the data grid using $grid->setColumnsHidden(array('id')); But I need that 'ID' column in my report, I am doing an excel export using $grid->setExport(array('excel')); Is it possible to…
0
votes
1 answer

Filter table content

I don't quite understand the documentation for filters on the table, how do you update when the user enters something in the filter inputs? The values do not change when I try in my example. The current code for my table in the controller is this: …
Kevin Peters
  • 469
  • 1
  • 4
  • 9
0
votes
1 answer

ZF Datagrid Edit Form Validation failed cause of Ignored element

I have edit form for entity. There is element $feedback = new FeedbackViewer('Feedback'); $feedback->setLabel('Feedback')->setRequired(false); $feedback->setPostId($this->testimonialId); …
divide by zero
  • 2,340
  • 5
  • 23
  • 34
0
votes
1 answer

Zfdatagrid 0.8 adding elements to CRUD-forms

I'm using ZendFramework 1.11 and Zfdatagrid 0.8. I've created a grid and a CRUD-form using my own db-model as source. Then I added some extra elements to the CRUD-form like this: $element = new Zend_Form_Element('element', array('label'=>'new…
0
votes
1 answer

zfdatagrid - Plugin by name 'Table' was not found in the registry;

I've just installed the library and tried a simple table with an array $grid = Bvb_Grid::factory("Bvb_Grid_Deploy_Table"); $grid->setSource(new Bvb_Grid_Source_Array($this->pkg)); $myGrid = $grid->deploy(); I get this error: Plugin by name 'Table'…
Jim SMith
  • 212
  • 3
  • 13
0
votes
1 answer

How to show zend framework data grid data sorted by "date" as default?

How to show zend framework data grid data sorted by "date" as default? When i get on the page, i wish to see data grid sorted by time as default, without getting params in URL like .../order/created_DESC/ $testimonials = new…
divide by zero
  • 2,340
  • 5
  • 23
  • 34