Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • refreshFields lead to exception

    hi

    listgridField.setHidden(true);
    listGrid.refreshFields();

    refreshFields can lead to the following exception:

    Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) : Die Eigenschaft "getItems" eines undefinierten oder Nullverweises kann nicht abgerufen werden.
    at Unknown.pGb(Exceptions.java:36)
    at Unknown.Umc(ListGrid.java:17137)

    Do you have a clue why?
    (we are using smartgwt-5.0-2015-08-20) with IE-11).


  • #2
    Start by trying out a fully patched version - your version is a year and a half behind on patches.

    If you're still having the problem, first consider why you're calling refreshFields() at all. It's not necessary after hiding a field.

    If the call does not seem to be redundant, we need a way to reproduce the issue. See the FAQ and the Debugging Overview for advice on creating test cases.

    Comment

    Working...
    X