setVisible is possible, but you have to call setOutputMarkupPlaceholderTag(true) on it.
-Matej On Fri, May 16, 2008 at 6:44 PM, nitinkc <[EMAIL PROTECTED]> wrote: > > Currently the DataGrid outputs a datatable with column headers and a message > 'No Records Found' if the datalist is empty. Does anyone know if it is > possible to render the datatable only if the list is not empty? Setting the > visibility to 'false' is not an option as the markup is not rendered in this > case and I need to be able to rerender the datatable if records are found > after an Ajax submit... > -- > View this message in context: > http://www.nabble.com/Not-rendering-DataGrid-if-empty-tp17279244p17279244.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
