Multiple GridClientSelectColumn in radgrid

2 posts, 0 answers
  1. Osvaldo
    Osvaldo avatar
    1 posts
    Member since:
    Aug 2013

    Posted 27 Jan 2017 Link to this post

    I would like a help, I have a Grid with two GridClientSelectColumn columns as coidgo below, I would like to perform a validation when the user select the column yes it uncheck the column, please someone has an example


                                                <telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" Width="100%" 
                                                     AllowMultiRowSelection="true" OnPreRender="RadGrid1_PreRender"  Visible="true"   OnItemCreated="RadGrid1_ItemDataBound"  AutoGenerateColumns ="false" EnableViewState="true" > 
                                                      <ClientSettings Selecting-AllowRowSelect="true"  >
                                                <MasterTableView  PageSize="8" AllowPaging="True" Width="100%"
                                                           DataKeyNames="ID_PID" >
                                                               <telerik:GridBoundColumn DataField="ID_PID" DataType="System.Int32" 
                                                                        FilterControlAltText="Filter ID_PID column" HeaderText="ID_PID" 
                                                                        ReadOnly="True" SortExpression="ID_PID" UniqueName="ID_PID" Visible="false">
                                                                    <telerik:GridBoundColumn DataField="PERGUNTA_PID" 
                                                                        FilterControlAltText="Filter PERGUNTA_PID column" HeaderText="PERGUNTA_PID" 
                                                                        SortExpression="PERGUNTA_PID" UniqueName="PERGUNTA_PID">
                                                                    <telerik:GridBoundColumn DataField="RESPOSTA" 
                                                                        FilterControlAltText="Filter RESPOSTA column" DataFormatString="<strong>{0}</strong>"  HeaderText="RESPOSTA" 
                                                                        SortExpression="RESPOSTA" UniqueName="RESPOSTA">
                                                                    <telerik:GridBoundColumn DataField="FONTE" 
                                                                        FilterControlAltText="Filter FONTE column" HeaderText="FONTE"  Visible="false"
                                                                        SortExpression="FONTE" UniqueName="FONTE">

                                                                    <telerik:GridClientSelectColumn UniqueName="VERDADEIRO"  >
                                                                    <telerik:GridClientSelectColumn UniqueName="FALSO"   >


  2. Eyup
    Eyup avatar
    3841 posts

    Posted 01 Feb 2017 Link to this post

    Hello Osvaldo,

    I believe what you are looking for is GridTemplateColumn with CheckBox in its ItemTemplate. You can check the sample provided at the end of the following section:

    I am sending two web site samples which may prove immensely helpful.

    I hope this will prove helpful.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top