public static CharSequence getDataJS(final UIGrid _uiGrid)
        throws EFapsException
    {
        final StringBuilder ret = new StringBuilder().append(" [\n");
        int i = 0;
        for (final GridRow row : _uiGrid.getValues()) {
            if (i > 0) {
                ret.append(",\n");
            }
            ret.append(getRowJS(row, String.valueOf(i)));
            i++;
        }
        ret.append("]\n");
        return ret;
    }
public static CharSequence getDataJS(final UIGrid _uiGrid)
        throws EFapsException
    {
        final StringBuilder ret = new StringBuilder().append(" [\n");
        int i = 0;
        for (final GridRow row : _uiGrid.getValues()) {
            if (i > 0) {
                ret.append(",\n");
            }
            ret.append(getRowJS(row, String.valueOf(i)));
            i++;
        }
        ret.append("]\n");
        return ret;
    }
public static CharSequence getDataJS ( final UIGrid _uiGrid ) throws EFapsException { final StringBuilder ret = new StringBuilder ( ) . append ( " [\n" ) ; int i = 0 ; for ( final GridRow row : _uiGrid . getValues ( ) ) { if ( i > 0 ) { ret . append ( ",\n" ) ; } ret . append ( getRowJS ( row , String . valueOf ( i ) ) ) ; i ++ ; } ret . append ( "]\n" ) ; return ret ; }
Gets the data JS.

@param _uiGrid the ui grid
@return the data JS
@throws EFapsException on error
Gets the data JS .