// Metodo para buscar //
  public void buscarDatos() throws Exception {
    try {
      String parameter = lbxParameter.getSelectedItem().getValue().toString();
      String value = tbxValue.getValue().toUpperCase().trim();

      Map<String, Object> parameters = new HashMap<String, Object>();
      parameters.put("parameter", parameter);
      parameters.put("value", "%" + value + "%");

      anexo3_entidadService.setLimit("limit 25 offset 0");

      List<Anexo3_entidad> lista_datos = anexo3_entidadService.listar(parameters);
      rowsResultado.getChildren().clear();

      for (Anexo3_entidad anexo3_entidad : lista_datos) {
        rowsResultado.appendChild(crearFilas(anexo3_entidad, this));
      }

      gridResultado.setVisible(true);
      gridResultado.setMold("paging");
      gridResultado.setPageSize(20);

      gridResultado.applyProperties();
      gridResultado.invalidate();

    } catch (Exception e) {
      MensajesUtil.mensajeError(e, "", this);
    }
  }