Round cornered Row style SL DataGrid

7 posts, 2 answers
  1. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 23 Jul 2010 Link to this post

    Hi
    Please suggest how we can achieve round cornered rows in a DataGridview as show in the attached file.

    thanks and regards
    Manish Kumar
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Jul 2010 Link to this post

    Hi Manish Kumar,

    I have prepared a sample project which demonstrates how you can achieve this. This is possible through  restyling the GridViewRow Please give it a try and let me know how it goes.

    Greetings,
    Vanya Pavlova
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 23 Jul 2010 Link to this post

    Hi Vanya

    I apprieciate for your quick reply. I really hope your code will definitely help me but I need to get sure if the same code will work for Silverlight 3. and If not do what else can i do so that i will work with SL3.
    I am also facing problem with xaml code  telerik:SelectiveScrollingGrid.SelectiveScrollingClip="True" application is unable to locate this SelectiveScrollingClip property do i need to take any dll reference. if so which is that.

    thanks again
    Manish Kumar

  4. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 23 Jul 2010 Link to this post

    Hello Manish Kumar,

    Thank you for your feedback-You can download the SL3 version of the project.
    Best wishes,
    Vanya Pavlova
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  5. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 26 Jul 2010 Link to this post

    Thanks Vanya ,

    I am able to get the datagrid with rounded corner rows. I also like to know

    i. if I don't require RowIndicatorVisibility (="Collapsed") then where in xaml i need to make modification so that it can replace with the round corner at the left most side of the DataGrid.
    ii. How I can change the color of the header from Grey to as of DataGrid background
    iii. Where are we setting the DataGrid width.

    thanks 
    Manish Kumar


     
  6. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 26 Jul 2010 Link to this post

    Hello Manish Kumar,

    1.You should edit the CornerRadius property of the (1)"PART_IndicatorPresenter"
    and the CornerRadius of the (2)"NavigatorIndicatorBackground" to achieve desired result.
    Look at your style and replace the CornerRadius with CornerRadius="6,6,6,6" for (1) and (2).

    2.In order to change background color of the GridViewHeaderRow you should edit the template and edit the brush used to paint HeaderBackground.

    3.You can change the width and height of the GridView by setting its Width and Height properties.
    All the best,
    Vanya Pavlova
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  7. Manish Kumar
    Manish  Kumar avatar
    62 posts
    Member since:
    Feb 2010

    Posted 26 Jul 2010 Link to this post

    hi Vanya

    Thank you so much for resolving my queries. I will bother you again when face any problem using Telerik controls.

    Manish

Back to Top