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 .