phpMyDataGrid Professional - Sample of use
Intercept processes
Este ejemplo enseņa la forma de interceptar un llamado AJAX para realizar acciones complementarias
This example shows how to intercept an AJAX call to perform additional actions
{"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"},"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"},"birth_date" : {"strfieldName" : "birth_date","strHeader" : "Birth Date","fieldWidth" : "5","maxlength" : "10","columnwidth" : "105px","align" : "left","mask" : "date:ymd:-","default" : "","select" : "","cutChar" : "0","datatype" : "date","inputtype" : "0","ordering" : "1"}};
Company ABC, employees
New
Search
Export
Delete selected
Export to ...
Actions
ID
Name
Middle Name
Last Name
Birth Date
111124127
111124128
100660
j
R
Salamanca
1961-01-20
100661
Martin
L
Saavedra
1965-10-05
100662
Rafael
I
Villegas
1985-04-24
100663
Cesar
R
1988-09-22
100664
Alejandro
P
Silva
1987-04-07
100665
Magaly
M
Ascanio
1990-04-18
Quick search:
Name
Last Name
5
8
10
15
20
25
40
Page
of 553
Displaying rows 1 to 8 of 4,417