Hei,
I've been running an lazyloading datatable using the framework from the examples.
(using a M-SQL backend)
Right now the filters does not work since the class.getField() returns null.
To bypass this I've had to replace this using getDeclaredFields:
--
//String fieldValue = String.valueOf(car.getClass().getDeclaredField(filterProperty).get(car));
Field f = car.getClass().getDeclaredField(filterProperty);
f.setAccessible(true);
String fieldValue = String.valueOf(f.get(car));
f.setAccessible(false);
--
Is there a better way?
lazy loading datatable and sorting/filtering
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests