Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by JesperZedlitz:
http://wiki.apache.org/tapestry/Tapestry5GridComponent

The comment on the change is:
adding extra colums needs some Java code

------------------------------------------------------------------------------
    </t:parameter>
  </t:grid>
  }}}
+ 
+ Unfortunately a change in the page class is also required:
+ {{{
+ public class Page {
+   @Inject
+   private BeanModelSource _beanModelSource;
+   @Inject
+   private ComponentResources _resources;
+   private final BeanModel _model;
+ 
+   public Page() {
+     this._model = _beanModelSource.create(Person.class, true, _resources);
+     thisl_model.add("details", null);
+   }
+   ...
+ }}}
+ 
+ for details see 
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.htmlAdding%20Columns%20Example
  
  == How to disable sorting for a column ==
  It is very likely possible to disable sorting for a column. How is that done?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to