This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there any way to re-order columns via drag and drop? We also need a way to show and hide columns using a context menu on the header. |
|
|
This was not in the RTM release but is available in current nightly builds: set the AllowsColumnReorder property on the grid to enable drag and drop of columns. To get a context menu on the header you would currently need to retemplate the MulticolumnTreeView header. You can see an example of this in the Elements sample (it doesn't show a context menu, but it shows styling the header, so you could easily add a context menu). However, I have now added out-of-the-box support for this via a new ColumnHeaderContextMenu property and this will be included in nightly builds dated 13 May 2009 and above, which will be available after about 1430 GMT. Nightly builds can be downloaded from http://www.mindscape.co.nz/products/wpfelements/nightlybuilds.aspx (trial edition) or the store (professional and enterprise editions). |
|