This is a migrated thread and some comments may be shown as answers.

Sample App / RadGrid

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 17 Jun 2015, 01:11 PM

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. 


 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 18 Jun 2015, 10:08 AM
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
Tags
General Discussions
Asked by
Tom
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or