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
|
The attached project has a DataGrid with IsPagerVisible="True" and PagerSize="10". When I add rows at runtime the pager does now update (i.e. I don't see a second page appearing when I insert more than 10 rows) |
|
|
BTW, it would also be nice to have the Pager appear only when the number of rows is bigger then PagerSize. |
|
|
Hello Nestor Thanks for pointing out this bug and sending a repro project. This bug will be resolved in the next nightly build. To include the auto pager visibility feature, there may need to be a slight change to the API, so I'll look into adding this into 6.0 instead which will be released soon. Jason Fauchelle |
|
|
Hello Nestor We've just released WPF Elements 6.0. The IsPagerVisible property on the DataGrid is now nullable. When set to null, the visibility will be automatic based on if there are multiple pages or not. The default is null. As you already have WPF Elements 5.1, you can get 6.0 for free from your account page: http://www.mindscapehq.com/store/myaccount Jason Fauchelle |
|
|
That's fantastic! Where can I read what's new in 6.0 ? |
|
|
After installing 6.0, the full list of additions can be found by going to the install directory /Documentation/WpfElements.chm then see the Getting Started -> What's new page. |
|