<div id="w">
<table id="dg" singleSelect="true"></table>              
</div>
<div id="toolbar">  
    <? if ($t=="1"){	?>
    <a href="javascript:void(0)" id="btnTbh" class="easyui-linkbutton" iconCls="icon-add" plain="true" title="Tambah">Tambah</a>  
    <? }?>
    <? if ($u=="1"){	?>
    <a href="javascript:void(0)" id="btnUbh" class="easyui-linkbutton" iconCls="icon-edit" plain="true" title="Ubah">Ubah</a> 
    <? }?>
    <? if ($h=="1"){	?>
    <a href="javascript:void(0)" id="btnHps" class="easyui-linkbutton" iconCls="icon-remove" plain="true" title="Hapus">Hapus</a>  
    <? }?> 
	<a href="javascript:void(0)" id="btnPrint" class="easyui-linkbutton" iconCls="icon-print" plain="true" title="Print">Print</a> 
    <a href="javascript:void(0)" id="btnExcel" class="easyui-linkbutton" iconCls="icon-xls" plain="true" title="Excel">Excel</a>
    <span style="display:inline-block;">
    &nbsp; &nbsp; &nbsp;
    <input id="q">
    </span>
</div>

<div id="dlg" class="easyui-dialog" style="width:500px;height:250px;padding:10px" closed="true" buttons="#dlg-buttons">
	<form id="fm" method="post" onSubmit="return false">
    <input type="hidden" id="id" name="id" required>
 	<table cellpadding="2" cellspacing="2">
    <tr>
      <td width="150">Kode</td>
      <td width="350"><input id="kd_uom" name="kd_uom" class="easyui-textbox" required size="20"></td>
    </tr>
    <tr>
      <td>Nama</td>
      <td><input name="nm_uom" class="easyui-textbox" id="nm_uom" size="30"></td>
    </tr>    
    </table>
    <input type="submit" id="btnSubmit" name="btnSubmit" style="display:none">
    </form>            
</div>
<div id="dlg-buttons">
    <a href="#" id="btnSim" class="easyui-linkbutton" iconCls="icon-ok">Simpan</a>
    <a href="javascript:void(0)" id="btnReset" class="easyui-linkbutton" iconCls="icon-cancel">Kosongkan</a>
</div>            