Pagination links not shown correctly
Pagination links not shown correctly
RubenCoolen
Posts: 1Questions: 0Answers: 0
Hello,
I have a datatable with default style but my pagination links look all wrong.
They look like this:
http://ruben.preview.sanmax.be/Knipsel.PNG
This is my code (please don't mind the PHP code inside it):
[code]
Gebruikersnaam
E-mail
Naam
Laatst ingelogd
Rechten
Acties
<?php if($this->members):?>
<?php foreach($this->members as $member): ?>
<?php echo $this->escape($member->getUsername());?>
<?php echo $this->escape($member->getEmail());?>
<?php echo $this->escape($member->getFullName());?>
<?php echo $this->escape($member->getDateFirstUse());?>
<?php foreach($member->getGroups() as $g): echo $g->getName();?><?php endforeach;?>
<?php if($canActivate):?>
<?php if($member->getActive()):?>Deactiveer<?php else:?>Activeer<?php endif;?>
<?php endif;?>
<?php if($canEdit): ?>
Edit
<?php endif;?>
<?php if($canDelete):?>
Delete
<?php endif;?>
<?php endforeach;?>
<?php endif;?>
<?php $this->headScript()->captureStart(); ?>
$('#table').dataTable();
<?php $this->headScript()->captureEnd(); ?>[/code]
I'm pretty new to using datatables.
I have a datatable with default style but my pagination links look all wrong.
They look like this:
http://ruben.preview.sanmax.be/Knipsel.PNG
This is my code (please don't mind the PHP code inside it):
[code]
Gebruikersnaam
Naam
Laatst ingelogd
Rechten
Acties
<?php if($this->members):?>
<?php foreach($this->members as $member): ?>
<?php echo $this->escape($member->getUsername());?>
<?php echo $this->escape($member->getEmail());?>
<?php echo $this->escape($member->getFullName());?>
<?php echo $this->escape($member->getDateFirstUse());?>
<?php foreach($member->getGroups() as $g): echo $g->getName();?><?php endforeach;?>
<?php if($canActivate):?>
<?php if($member->getActive()):?>Deactiveer<?php else:?>Activeer<?php endif;?>
<?php endif;?>
<?php if($canEdit): ?>
Edit
<?php endif;?>
<?php if($canDelete):?>
Delete
<?php endif;?>
<?php endforeach;?>
<?php endif;?>
<?php $this->headScript()->captureStart(); ?>
$('#table').dataTable();
<?php $this->headScript()->captureEnd(); ?>[/code]
I'm pretty new to using datatables.
This discussion has been closed.