Hello my name is Rudy and this is my first post.
I need to strip the text into the column with a maximum number of letters up to 350.
I have read that about mRender function but I am a bit stuck about its use.
I work with Datatables in a CakePhp project, my DT is already built under the MVC pattern of cakephp.
I will enclose my script to better clear what I need
any hint ?
Thanks in advance
Rudy
I need to strip the text into the column with a maximum number of letters up to 350.
I have read that about mRender function but I am a bit stuck about its use.
I work with Datatables in a CakePhp project, my DT is already built under the MVC pattern of cakephp.
I will enclose my script to better clear what I need
<script type="text/javascript"> $('#admin_index_table').dataTable({ aoColumns: [ { mData: 'Family.id' }, { mData: 'Family.name' }, { mData: 'Family.description' }, { mData: 'Family.created' }, { mData: 'Family.enabled' }, { mData: 'Family.id', mRender: <?php echo $this->DataTables->renderActions(); ?>, bSortable: false, bSearchable: false } ] }); </script>
any hint ?
Thanks in advance
Rudy