Saturday, 15 May 2010

GWT table add entry row -



GWT table add entry row -

i'm new gwt , trying create table display info in. started using datagrid (as wanted hierarchical headers in datagrid showcase example). other requirement top row dedicated "add entry row", i.e. empty row cells hold input boxes can completed user, , lastly column contains "add" button add together completed item info set. other info in table non editable , 1 time "add" row button clicked, contents of "add entry row" written permanent table contents "add entry row" cleared.

as i'm new gwt thought i'd check if there easy way accomplish functionality? or can offer advice how best implement this?

thanks.

after click on add button .

create yourobject values , ,then can add together 1 record listdata

which populating datagrid.

by using below code can acheive :

//to create `yourobject` here new values listdataprovider.getlist.add(yourobject); listdataprovider.refresh();

table gwt datagrid

No comments:

Post a Comment