RE: Datagrid problem
Hi Maikel In the presente the datagrid tag only works with fixed columns not dynamic columns. Regards, Néstor Boscán _ De: Maikel Sibbald [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 24 de Febrero de 2005 10:19 a.m. Para: [EMAIL PROTECTED] Asunto: Datagrid problem If got this problem: I've got a collection which I use in the ui:dataGrid: -- works fine But now I want to use a colection of field I want to show in the datagrid. So what I did is use a c:forEach for every column, but the problem is dat I cant use this within the ui:dataGrid. Code: ui:dataGrid items=${collection} var=item name=datagrid1 cellPadding=0 cellSpacing=0 columns c:forEach var=field items=${requestScope.fields} start=1 end=10 column width=100 order=true header value=${field} hAlign=center styleClass=header1/ item value=${item.name} hAlign=left hyperLink=/*.do?methodToCall=edit styleClass=item1/ /column /c:forEach /columns header show=true/ footer show=true/ rows styleClass=rows hiliteStyleClass=hiliterows/ paging size=${pages} nextUrlVar=next previousUrlVar=previous pagesVar=pages/ /ui:dataGrid Is there something I'm missing. Or do you got a solution?? Thanx in advance!!
Re: DataGrid problem ???
Hi Eric, That's a question for Nestor, the DataGrid author. He usually answers these questions very quickly, but I think he is facing some email issues, as a private message that I sent to him bounced (with the 'mailbox unavailable' message). So, let's wait a couple of days and see what happens... Felipe On Fri, 2004-09-17 at 21:21, Eric Chow wrote: Hi all, The DataGrid tag is a body tag, the body contents is constructed un XML. The problem is that how can I display the item that with some extra action. For example, before print out the item value, I want to encode/decode the original value, how can I do this in DataGrid ??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DataGrid problem ???
Hi all, The DataGrid tag is a body tag, the body contents is constructed un XML. The problem is that how can I display the item that with some extra action. For example, before print out the item value, I want to encode/decode the original value, how can I do this in DataGrid ??? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]