Hi
I forgot to set the "rows" attribute on a lazy datatable and got a div by zero exception. I thought it would have been nice if instead the value was set to a valid reasonable default and the setter had an exception throwing guard against zero.
I think it might be a good idea in general to provide "sensible defaults" where possible. Are there any good reasons (apart from taking valuable developer time that could perhaps be spent on more important things) for not doing this.
Cheers,
Patrik
lazy datatable div by zero
-
- Information
-
Who is online
Users browsing this forum: No registered users and 67 guests