4 Answers, 1 is accepted
0
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:
Regards,
Viktor Tachev
Telerik
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
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
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