Hi,
I have a ListGrid which bind to a RestDataSource. My code is
	The SC.say() will be invoked in above code, meant the
passwordField is null. Why ?
Thanks
KC
					I have a ListGrid which bind to a RestDataSource. My code is
Code:
	
	        grid.setDataSource(datasource);
        grid.setUseAllDataSourceFields(true);
        grid.setAutoFetchData(true);
       ListGridField passwordField = grid.getField("password");
        if (passwordField == null) {
            SC.say("passwordField is NULL");
        } else {
            passwordField.setCellFormatter(new CellFormatter() {
                public String format(Object value, ListGridRecord record, int rowNum, int colNum) {
           
                        return "*******************";
               
                    }
                }   
            });
        }
passwordField is null. Why ?
Thanks
KC