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
111124112
ww
d
wwww
2022-01-11
111124114
ww
d
wwww
2022-01-11
111124113
ww
d
wwww
2022-01-10
100658
Edita
N
Garces
1957-06-27
100659
Cecilia
Y
Retamal
1962-09-30
100660
Josefa
R
Salamanca
1961-01-20
100661
Martin
L
Saavedra
1965-10-05
100662
Rafael
I
Villegas
1985-04-24
Quick search:
Name
Last Name
5
8
10
15
20
25
40
Page
of 553
Displaying rows 1 to 8 of 4,420