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

Constant Edit Field

4 Answers 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 26 Nov 2008, 06:09 PM
Created a Rad Grid, need to have a editable field at the end to enter qty ordered. without having to click on a edit or anything to start. is there an example of this? somewhere.


Andy Stapleton

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Nov 2008, 06:16 AM
Hi Andy,

You can put the Radgrid in always  insert mode  by using the following code and position the insert from to the bottom of the grid .

protected void RadGrid1_PreRender(object sender, EventArgs e)  
    {  
        RadGrid1.MasterTableView.IsItemInserted = true;  
        RadGrid1.MasterTableView.Rebind();  
    } 


Thanks,
Shinu.
0
Daniel
Telerik team
answered on 28 Nov 2008, 02:35 PM
Hello Andy,

You can control the display position of the insert form using the InsertItemDisplay property of GridTableView.
Customize the insertion form display position with paging enabled
CommandItem demo

Kind regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy
Top achievements
Rank 1
answered on 01 Dec 2008, 03:23 PM
Let me explain a bit further...

the grid is a list of inventory items, one of the fields of that grid is a entry field allowing the user to put in the amount or count of items that they wish to purchase....

so.

Item Code               Item Desc             Qty Avail                 order Qty
123455 Widgit 23 ENTRY AREA 


so the user would in the ENTRY AREA put in how many he wishes to purchase, and on the completion, I will grab that and put in a seperate table as an order.

the editable field, would more likely be EDIT mode not INSERT...

Andy Stapleton
0
Daniel
Telerik team
answered on 01 Dec 2008, 06:35 PM
Hello Andy,

Thank you for the clarification

Depending on your scenario you can either put all items in edit mode (as shown on the link) or open edit mode on button/row click.
Default edit mode for grid items on initial load

Please let me know if I missed something.

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Andy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Daniel
Telerik team
Andy
Top achievements
Rank 1
Share this question
or