# DataSetGrid in WebClient crashes

**URL:** <https://forum.servoy.com/t/datasetgrid-in-webclient-crashes/17671>\
**Category:** Classic Servoy\
**Created:** [December 6, 2013, 2:47am UTC](https://forum.servoy.com/t/datasetgrid-in-webclient-crashes/17671 "2013-12-06T02:47:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philzeh](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@philzeh](https://forum.servoy.com/u/philzeh)\
**Post date:** [December 6, 2013, 2:47am UTC](https://forum.servoy.com/t/datasetgrid-in-webclient-crashes/17671/1 "2013-12-06T02:47:16Z")

</div>

Hi,

When using a DataSetGrid in SmartClient it works perfectly fine, but when using it inside a WebClient it instantly shows “Internal Server Error” and displays the error message:

> java.lang.ClassCastException: com.drmaison.beans.datasetgrid.DatasetGrid cannot be cast to org.apache.wicket.Component

Is it possible to get it working in WebClient?

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [December 6, 2013, 9:02am UTC](https://forum.servoy.com/t/datasetgrid-in-webclient-crashes/17671/2 "2013-12-06T09:02:37Z")

</div>

The table bean is not web capable. For grids, it is recommended to use Servoy’s built in solutionModel features to create a table view from a dataset. The table bean was developed in a time where we had no solutionModel, no drag and drop etc in Servoy. Today, you can accomplish 98% of what the table bean does with Servoy’s own means.
