public void renderTable(HashMap<String, String> tipeKolom) { // tipeKolom = 1#Z#HCODE // tipeKolom = 1#D#NONE // tipeKolom = 1#N#FORMAT for (int i = 0; i < tipeKolom.size(); i++) { String temp = tipeKolom.get(i + ""); String data[] = temp.split("#"); int no = 0; try { no = Integer.parseInt(data[0].trim()); } catch (Exception e) { no = 0; } if (data[1].trim().equals("Z")) { Function.setColumnRender(this, data[2], no); } else if (data[1].trim().equals("D")) { Function.setColumnRenderDate(this, data[2], no); } else if (data[1].trim().equals("N")) { Function.setColumnRenderNumeric(this, no); } } }