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

set the expand collapse image for a grid

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ryann
Top achievements
Rank 1
Ryann asked on 24 Jan 2014, 11:50 AM
Hi
how to set the expand collapse image for a grid?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 24 Jan 2014, 12:28 PM
Hello,

Please try with the below code snippet.

<MasterTableView
ExpandCollapseColumn-ButtonType="ImageButton" 
ExpandCollapseColumn-CollapseImageUrl="Images/Collapse.gif"  
ExpandCollapseColumn-ExpandImageUrl="Images/Expand.gif" >

OR

<style type="text/css">
    .rgCollapse
    {
        background-image: url('../Images/img1.gif') !important;
        background-position: 0px 0px !important;
    }
    .rgExpand
    {
        background-image: url('../Images/img2.gif') !important;
        background-position: 0px 0px !important;
    }
</style>


Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Ryann
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or