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

Numeric Column Editor

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pablo Tola
Top achievements
Rank 2
Pablo Tola asked on 28 Jan 2008, 08:58 PM
How do you display the up/down arrows of the numeric editor on a grid?

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 29 Jan 2008, 06:59 AM
Hi Pablo Tola,

Please, excuse me for not explaining that in details.

You can use GridNumericColumnEditor (or the respective control editor in general) to configure your editor control as required. Find a sample code below:

        <telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server"
            <NumericTextBox ShowSpinButtons="True" Type="Number"
            </NumericTextBox> 
        </telerik:GridNumericColumnEditor> 

and assign the editor for the column through ColumnEditorID property:

<telerik:GridNumericColumn DataField="Freight" HeaderText="GridNumericColumn" UniqueName="Freight" ColumnEditorID="GridNumericColumnEditor1"/>


Let me know if you need further assistance.


Best wishes,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Pablo Tola
Top achievements
Rank 2
Answers by
Konstantin Petkov
Telerik team
Share this question
or