Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $cols = array(
- 'rowid' => array(
- 'name' => 'ID',
- 'index' => 'rowid',
- 'width' => '20px'
- ),
- 'code_client' => array(
- 'name' => 'code client',
- 'index' => 'code_client',
- 'width' => '70px'
- ),
- ...
- )
- pour le colModel, tu fais un return array_values($cols)
- pour le colNames, tu fais un return array_leys($cols);
Add Comment
Please, Sign In to add comment