java - How can you change the name of a colum in a GWT DataGrid? -


i have gwt datagrid static columns. while know can remove columns , add them different names, possible change column's name directly?

update:

i don't understand what's going on. per thomas boyer's answer below, see in docs .getheader() inherited abstractcelltable public method, compiler says no such method exists datagrid.

grid created:

datagrid mygrid = new datagrid<mytype>(integer.max_value, gwt.<datagridresources2> create(datagridresources2.class)); 

and fails compile:

header<myheaderclass> header = mygrid.getheader(0); 

compiler says no such method exists type datagrid.

you can use getheader method of datagrid obtain column header, ,

getcell().setvalue 

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -