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

CommandItemSettings-ShowRefreshButton="false"

3 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Iron
Iron
Veteran
David asked on 24 Dec 2014, 09:51 PM
I have CommandItemSettings-ShowRefreshButton="false" settings in MasterTableView and it works fine. However it doesn't apply to hierarchical grid beneath it.
Is there equivalent of MasterTableView for sub table? Or any other way to achieve the objective

Happy Holidays to everybody and thank you

3 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 24 Dec 2014, 09:54 PM
I apologize for accidental name for the thread, not sure how to edit it.
0
Accepted
Konstantin Dikov
Telerik team
answered on 26 Dec 2014, 12:58 PM
Hello David,

This property is applied to the GridTableView only and does not apply for the nested GridTableView detail tables. In order to hide the refresh button for all nested GridTableViews you will have to set it explicitly to each one of them:
<telerik:RadGrid runat="server" ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource">
    <MasterTableView CommandItemDisplay="Top">
        <CommandItemSettings ShowRefreshButton="false" />
        <DetailTables>
            <telerik:GridTableView CommandItemDisplay="Top">
                <CommandItemSettings ShowRefreshButton="false" />
            </telerik:GridTableView>
        </DetailTables>
    </MasterTableView>
</telerik:RadGrid>

Please give this a try and see if this is the result that you are looking for.


Best Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 26 Dec 2014, 03:53 PM
Exactly what i was looking for! Thank you
Tags
Grid
Asked by
David
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
David
Top achievements
Rank 1
Iron
Iron
Veteran
Konstantin Dikov
Telerik team
Share this question
or