phpMyDataGrid Professional - Sample of use
Customize data
Este ejemplo enseña la forma de pre y post procesar la información de la tabla
This sample teach how pre and post process the table data
Export to ...
Export all pages
Export this page
{"emp_id" : {"strfieldName" : "emp_id","strHeader" : "ID","fieldWidth" : "40","maxlength" : "50","columnwidth" : "93px","align" : "left","mask" : "text","default" : "","select" : "","cutChar" : "0","datatype" : "text","inputtype" : "1","ordering" : "1"},"active" : {"strfieldName" : "active","strHeader" : "Status","fieldWidth" : "13","maxlength" : "1","columnwidth" : "60px","align" : "left","mask" : "check:Inactive:Active","default" : "","select" : {0 : "Inactive",1 : "Active"},"cutChar" : "0","datatype" : "check","inputtype" : "0","ordering" : "1"},"fname" : {"strfieldName" : "fname","strHeader" : "Name","fieldWidth" : "13","maxlength" : "20","columnwidth" : "95px","align" : "left","mask" : "text","default" : "","select" : "","cutChar" : "0","datatype" : "text","inputtype" : "0","ordering" : "1"},"minit" : {"strfieldName" : "minit","strHeader" : "Middle Name","fieldWidth" : "5","maxlength" : "1","columnwidth" : "80px","align" : "left","mask" : "text","default" : "","select" : "","cutChar" : "0","datatype" : "text","inputtype" : "0","ordering" : "1"},"lname" : {"strfieldName" : "lname","strHeader" : "Last Name","fieldWidth" : "5","maxlength" : "30","columnwidth" : "95px","align" : "left","mask" : "text","default" : "","select" : "","cutChar" : "0","datatype" : "text","inputtype" : "0","ordering" : "1"},"afiliation_date" : {"strfieldName" : "afiliation_date","strHeader" : "Affiliation Date","fieldWidth" : "10","maxlength" : "10","columnwidth" : "105px","align" : "left","mask" : "text","default" : "","select" : "","cutChar" : "0","datatype" : "text","inputtype" : "0","ordering" : "1"}};
New
Export
ID
Status
Name
Middle Name
Last Name
Affiliation Date
111124127
Inactive
1969-12-31
111124128
Inactive
1969-12-31
100660
Inactive
j
R
Salamanca
2011-08-26
100661
Active
Martin
L
Saavedra
2008-04-12
100662
Inactive
Rafael
I
Villegas
2008-01-22
100663
Inactive
Cesar
R
2004-03-02
100664
Active
Alejandro
P
Silva
2008-12-21
100665
Inactive
Magaly
M
Ascanio
2002-07-26
100666
Inactive
Dios
M
Leon
2010-04-23
100667
Inactive
Ana
A
Eduardo
2002-05-21
5
10
15
20
25
40
Page
of 442
Displaying rows 1 to 10 of 4,417