| fset_1 |

Demo: Programmatic dojox.grid.DataGrid: Column styling

This page demonstrate the use of: dojox.grid.DataGrid and shows an easy way to style the columns of the grid

The page use data from data/phone_action.php

The cells may be styled by the dojox.grid.DataGrid function formatter. In this page 3 different type of functions are shown:

New database..Delete all changes (don't use ;-)

If you select "Add Row" two times it will generate an error - because two errors may not have the same identifier. In this case an empty identifier!



Show HTML code [fset_1] | Reload page [window.location.reload()] |

The java script to do this is:
dojo.byId('htmlTextBox').value = dojo.byId('text_group').innerHTML;