2507: Flexible column widths -- djblets-datagrid

ses****@gmai***** (Google Code) (Is this you? Claim this profile.)
March 17, 2012
413
What version are you running?
Djblets-0.6.16

Describe the enhancement and the motivation for it.
Datagrid seems to always try to resize columns to be equal length. I have skimmed the javascript code and I have a feeling this might be coupled with the drag/reorder feature, but if it is not, it would be very nice to be able to somehow specify column widths, or even just allow them to be unspecified/laid out by the browser. When displaying various types of data in a djblets datagrid, it is not really optimal if you have a field containing some text that could be 100 characters long among fields that are displaying a single digit number, or a T/F value, or something like that. There's a lot of wasted space around the fields that you know always contain short values that could be used for fields that have long values.

Please provide any additional information below.
Like I said above I have only had a chance to skim the code so far. I'm planning on doing a much closer review in the very near future, and possibly changing some things and submitting a pull request. If anyone happens to see this before I have had a chance to do a closer review, and you know some information that is pertinent I would really appreciate if it was shared. The documentation of individual functions is pretty good, but there seems to be a lack of high level documentation that is slowing me down a little bit. Thanks.
david
#1 david