Skip to main content

Can we make Columns of Dojo.table resizable

1 reply [Last post]
hmistry
Offline
Joined: 2008-08-04
Points: 0

i have a table which has 4 column can we make it user resizable. so that user can resize the column as required

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sloanb
Offline
Joined: 2003-09-14
Points: 0

Do you mean after it has been rendered or a arg that allows you to set the column width? Currently this feature is not implemented in the dojo dijit grid widget. You can however customize your own version of the widget to allow the passing of column width through the model. For examples on how to set the column width using dojo see http://www.dojotoolkit.com/book/dojo-book-0-9/docx-documentation-under-d....

If you are new to widgets you can find documentation on how to write your own widgets https://ajax.dev.java.net/widget-developer.html. Let me know if you have any questions.

Message was edited by: sloanb