pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: Hi
Date Tue, 11 Oct 2011 14:36:35 GMT
Yes, you just need to attach an editor to your table. See:

http://pivot.apache.org/demos/table-row-editor.html
http://svn.apache.org/repos/asf/pivot/trunk/demos/src/org/apache/pivot/demos/roweditor/

On Oct 11, 2011, at 4:10 AM, V SANTOSH PAVAN RAJU BS wrote:

> I have created a row dynamically in TablePane by using the following code:
> 
> TablePane.Row row = new TablePane.Row();
>                int rowIndex = 1;
>                int n = tablePane.getColumns().getLength();
>                tablePane.getRows().insert(row, rowIndex);
> 
>                for (int i = 1, i <= n; i++) {
>                    Panel panel = new Panel();
>                    row.setHeight(20);
>                    row.add(panel);
>                    panel.getStyles().put("backgroundColor", "#E8E9F7");
>                    }
> Upto here it was ok. But is there is any way to make that newly created row
> updatable. I mean can i edit that row and enter any data in that row.
> 
> -- 
> Thanks & Regards
> B.S.V.S.Pavan Raju.
> Skype: skype_pavan1
> Hyderabad.


Mime
View raw message