Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

RadGrid becomes too slow when binding over 100 records

$
0
0

Hello Jayesh,

 I tried to create element in client side binding. 

function gvViewTrans_RowDataBound(sender, args) {
 var celName = args.get_item().get_cell("Locked");
 var input = document.createElement("input");
 input.type = 'checkbox';
 input.checked = args.get_dataItem()["Locked"];
 celName.appendChild(input);
}

 It did create the checkbox but it create again if I change page index for radgrid. So there will be multiple checkbox inside the column if I change the paging. And another problem is I cannot use radcombox inside Itemtemplate column. For now I don't need to bind the data for radcombobox. I just want to show combo dropdown inside the grid. But the dropdown is not showing up.

 

<telerik:GridTemplateColumnHeaderText="Supervisor"Visible="true"UniqueName="Supervisor">
 <ItemTemplate>
       <telerik:RadComboBoxID="cboSupervisor"runat="server"Width="50px"AllowCustomText="false"
          EnableEmbeddedSkins="false"EnableEmbeddedScripts="False"NoWrap="true"MaxHeight="200px"
          DropDownWidth="300px">
           <Items>
               <telerik:RadComboBoxItemValue="Pending"Text="Pending"/>
                <telerik:RadComboBoxItemValue="Approve"Text="Approve"/>
                 <telerik:RadComboBoxItemValue="Not Approve"Text="Not Approve"/>
           </Items>
      </telerik:RadComboBox>
    </ItemTemplate>
     <ItemStyleBackColor="#F6EFD7"Height="25px"></ItemStyle>
    <HeaderStyleWidth="100px"/>
    </telerik:GridTemplateColumn>

 

And I would be appreciate if you can answer my other questions which is decimal value cannot format and styles gone for columns. 

Thank you so much for your help.

 

Best regards,

Ei Wai

 

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>