It is a javascript codes for creating data grid