Sample App / RadGrid

2 posts, 1 answers
  1. Tom
    Tom avatar
    1 posts
    Member since:
    Jun 2013

    Posted 17 Jun 2015 Link to this post

    After looking at the CRM demo I decided to implement a similar type of functionality where based on a bool state the grid would show either a few columns or all columns

          <telerik:RadGridView helpers:GridViewColumnHelper.HideNonImportantColumns="{Binding IsInOverviewState}"
                                 ItemsSource="{Binding Contacts}" ColumnWidth="*"

    I am using Prism, everything works fine if I set a Minimum Height and Width of the main Shell and set the WindowState to normal. However, if I start the application maximized without these settings, when the grid is loaded, although it shows the right number of columns the width of the grid is incorrect (too big), if I slightly adjust the size of the window everything sorts itself out. 

     This is the grid definition 

     <Grid.ColumnDefinitions>

                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="2*"/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>

     if you see the attached files you will see what I mean.

    Thanks for any help in advance. 


     

     

     

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Jun 2015 Link to this post

    Hello,

    After installing the latest CRM demo, it turns out I am not able to reproduce such an issue. Due to the information you posted in the support thread opened on the same issue, it seems you have a custom implementation. Therefore, I suggest you continuing any further communication in the other ticket based on the specific code.

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top