I use mygrid.loadXML(get.php) to display the dhtmlxGrid.
But I want to some column be replaced to the other word.
For example,
in database it is ‘c’.
I want it shows ‘Clean’ in Grid.
How can I do?
I use mygrid.loadXML(get.php) to display the dhtmlxGrid.
But I want to some column be replaced to the other word.
For example,
in database it is ‘c’.
I want it shows ‘Clean’ in Grid.
How can I do?
a) you can change data directly in get.php , while forming xml data
or
b) you can use onRowCreated event
grid.attachEvent("onRowCreated", function(id){
if (grid.cells(id, 1).getValue() == "c")
grid.cells(id, 1).setValue("Clear")
})
Thx~
1.Might you show me how to do method (a)??
2.Because some value are “CON:IP[10.10.13.1]:DIS”
or “CON:IP[10.10.13.3]:DIS” “CON:DIS”…etc.
I want to they show the same thing,maybe “Dispaly”.
What can I do?
Thank you very much.
Sorry,
I still not understand how it work in my question…
Are you using connector on server side or some custom solution?
Which type of data you are loading in grid?