Great, it’s exactly there, thanks a lot.
So here is the code that works for me:
BeanModel dataModel = getDataModel(); // : The data model of the grid.
PropertyModel pm = dataModel.get(columnName);
Class columnClass = pm.getPropertyType();
Cheers
Davide
-----Original Message-----
From: Chris Poulsen [mailto:[email protected]]
Sent: Wednesday, December 9, 2015 19:43
To: Tapestry users <[email protected]>
Subject: Re: Retrieving the Class of an enum backing a Grid column
Maybe you can find it in the PropertyModel for the column? (
http://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/beaneditor/PropertyModel.html#getPropertyType%28%29
)
--
Chris