0 Replies Latest reply on Mar 6, 2007 12:08 AM by rkschulz

    Custom column width calculation on datagrid

    rkschulz Level 1
      Hi,

      I am can't seem to get the DataGrid to resize the columns the way I want them to (which is fine, I have some fairly particular requirements what I want to happen on resize, etc). I am looking for a few pointers where to start digging to plug-in / overwrite the logic that calculates the width of the DataGridColumns.

      Is there a document / post / example about this somewhere? I have custom classes for the DataGridColumns already
      so I can put the extra layout information I need to size them there, but I am looking for the place where I can change
      the width calculation. Is it just done in measure on the datagrid? Or is there some magic somewhere else?

      Any pointers are much appreciated.
      Thanks,

      Robert.