Jump to content

Mobile DBListGrid Custom Template CheckBox Sizing ?


andyhill

Recommended Posts

I have a Mobile DBListGrid custom template that uses checkboxes and I need to increase the checkbox size - please advise how - thanks.

 

  CustomCSS.Add('.gridCustom ');
  CustomCSS.Add('{ ');
  CustomCSS.Add('  min-height: 22px !important; ');
  CustomCSS.Add('  height: 26px !important; ');
  CustomCSS.Add('  line-height: 1.1 !important; ');
  // I would assume here instead of there (makes no difference)
  CustomCSS.Add('} ');
 
 
  config.itemTpl = new Ext.XTemplate
  (
 
    '<table class="gridCustom">'+
      '<tr>'+
        '<td width="269px" style="text-align:left; height:80%">{[this.getStreet(values)]}</td>'+
        '<td width="60px"  style="text-align:left; height:80%">{[this.getNAH(values)]}</td>'+
      '</tr>'+
    '</table>',
 
...
 
      getNAH: function(values)
      {
        if(values[2] == true) return '<input type="checkbox" checked id="myCheck" onclick="javascript:NotHomemForm.ListGrid.showNahCheck(\''+values[2]+'\')" align="middle" style="margin:auto; width=24px height=24px"/>';
        else                  return '<input type="checkbox"                       id="myCheck" onclick="javascript:NotHomemForm.ListGrid.showNahCheck(\''+values[2]+'\')" align="middle" style="margin:auto; width=24px height=24px"/>';
      }
 
...
 

 

Link to comment
Share on other sites

×
×
  • Create New...