column.icon : stringDefault: undefined

Css class for icon that is going to be in use for the cell. This setting can be in use only with combination of type icon.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         uiLibrary: 'jqueryui',
         columns: [
             { field: 'ID' },
             { field: 'Name' },
             { field: 'PlaceOfBirth' },
             { title: '', field: 'Edit', width: 20, type: 'icon', icon: 'ui-icon-pencil', events: { 'click': function (e) { alert('name=' + e.data.record.Name); } } }
         ]
     });
 </script>