Greetings,
as said in the title, i have a ListGrid bound to a datasource so i dont need to create all the listGridFields since they are created automatically. so i wanted to add a listGridField on the fly and not create the DataSourceField corresponding in the DataSource, to do that i created the listGridField, then
. the problem i've faced was that the listGrid displayed only the new Field, so to be able to display all other field of the Datasource additionally to the new Field, i called this.listGrid.setUseAllDataSourceFields( true );
the last problem that i couldnt resolve was the displayed order of the columns of the listGrid, i wanted the new field ti be added at last, but it was added in the first column.
i hope i was enough clear.
as said in the title, i have a ListGrid bound to a datasource so i dont need to create all the listGridFields since they are created automatically. so i wanted to add a listGridField on the fly and not create the DataSourceField corresponding in the DataSource, to do that i created the listGridField, then
Code:
LisGrid.setdfields(new Field)
the last problem that i couldnt resolve was the displayed order of the columns of the listGrid, i wanted the new field ti be added at last, but it was added in the first column.
i hope i was enough clear.
Comment