protected void generateLSHtml() {
        //RootPanel rootDiv =;
    	DockPanel mainDiv = new DockPanel();

        this.htmlTable.clear();
        this.htmlTable.setWidth("766px");
        this.htmlTable.setCellPadding(2);
        this.htmlTable.setCellSpacing(0);
        this.htmlTable.setBorderWidth(0);
        
        /* generate header of table */
        for (int i = 0; i < this.fields.length; i++) {
            LSGWTFieldElement elem = this.fields[i];
            this.schemaCache.put(elem.toString(), new Integer(i));
            this.htmlTable.setText(0, i, elem.getName());
            if (i == 0) {
                this.htmlTable.getCellFormatter().setStylePrimaryName(0, i, "tableTitleStockName");
            }
        }
        /* set CSS class */
        this.htmlTable.getRowFormatter().setStylePrimaryName(0, "tableTitle");

        /* generate element fields */
        this.groupCache.clear();
        for (int i = 0; i < this.items.length; i++) {
            String itemId = this.items[i];
            // first row is table headers
            int realRowNum = i + 1;
            this.groupCache.put(itemId, new Integer(realRowNum));
            String styleName = (realRowNum % 2) == 0 ? "coldEven" : "coldOdd";
            
            for (int n = 0; n < this.fields.length; n++) {
                if (n == 0) {
                    this.htmlTable.setText(realRowNum, n, itemId);
                    this.htmlTable.getCellFormatter().setStylePrimaryName(realRowNum, n, styleName+"StockName");
                } else {
                    this.htmlTable.setText(realRowNum, n, "-");
                    this.htmlTable.getCellFormatter().setStylePrimaryName(realRowNum, n, styleName);
                }
                
            }

            /* set CSS class */
            this.htmlTable.getRowFormatter().setStylePrimaryName(realRowNum, styleName+"Row");
        
        }

        mainDiv.setStyleName("centrDiv");
        mainDiv.add(this.htmlTable, DockPanel.CENTER);
        RootPanel.get("lsGwtDynamic").add(mainDiv);
        
    }