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

RadGrid Footer Client Side

4 Answers 348 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karin
Top achievements
Rank 1
Karin asked on 06 Jan 2016, 10:03 AM

Good morning

Please, how can find a radnumerictextbox exist in GridTableView Footer inside a telerik radgrid by javascript

 Regards

4 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 07 Jan 2016, 01:24 PM
Hi Karin,

In order to get reference of a RadNumericTextBox placed in the footer for a column you can use the following approach:

Sample ClientClick handler for a Button control:


function clientClick() {
    var gridFooter = $telerik.$(".rgMasterTable tfoot")[0];
    var numericInput = $telerik.findControl(gridFooter, "RadNumericTextBox1");
 
    numericInput.set_value(123)
}


Regards,
Viktor Tachev
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Karin
Top achievements
Rank 1
answered on 07 Jan 2016, 04:35 PM

Sorry for disturbing you,

But I' am using a <b>Hierarchy</b> RadGrid, this RadNumericTextBox is located in the <b>GridTableView</b> (child).

Can I use thi <b>.rgMasterTable </b> to find this RadNumericTextBox that exists in this <b>GridTableView</b>?

Regards,

Karin

0
Karin
Top achievements
Rank 1
answered on 08 Jan 2016, 07:36 AM

Sorry, I forgot to tell you that the RadNumericTextBox exists in the footer of GridTableView

Thanks

0
Kostadin
Telerik team
answered on 12 Jan 2016, 11:36 AM
Hi Karin,

You can use the same approach but instead using .rgMasterTable class you can use .rgDetailTable class to find the footer elements. Note that you need to loop through the footer elements and access each RadNumeric control of each detail table.

Regards,
Kostadin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Karin
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Karin
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or