phone number (text) drop starting 0 on datatable
phone number (text) drop starting 0 on datatable
in Bug reports
Datatable display varchar number with leading 0 without this (these) 0
var table = $('#donnees').DataTable( {
dom: "PQBlfrtp",
ajax: {
....
columns: [
{data: 'utilisateurs.Telephone'}
],....
show
when database data is
php is
Editor::inst( $db, $TblName )
->fields(
Field::inst( 'utilisateurs.ID'),
Field::inst( 'utilisateurs.Telephone' )
->validator( Validate::notEmpty( ValidateOptions::inst()
->message( 'le numéro de téléphone doit être renseigné...' )
)
),
Field::inst( 'utilisateurs.ID_Statut' ), ...
Any help please ?
This discussion has been closed.
Answers
at run time
mysql table utilisateurs

Same issue reported here:
https://datatables.net/forums/discussion/65305/leading-zero-problem#latest
hi @tangerine @colin
Sorry... I vas trying to understand why and had not found the post about this point...
So the problem is the same...
old release works fine

please close.... Allan did solve problem