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

by default editable cell

3 Answers 312 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pankaj
Top achievements
Rank 1
Pankaj asked on 21 Oct 2016, 06:11 AM

I have a requirement to show by default editable textbox in each cell of a row. i saw teleriks examples but they say when you click on cell then they become editable.

1. my first requirement is to by default show textbox in each cell of the row.

2. in the same context , second requirement is to calculate the total of numeric textboxes value in a row and show the total in the last column which will be a normal cell (i mean not editable)

Please guide

 

3 Answers, 1 is accepted

Sort by
0
Eduardo Serra
Telerik team
answered on 21 Oct 2016, 05:52 PM
Hello Pankaj,

The Kendo UI Grid does not support your requirement to show the cells of a row editable by default. This feature has been requested multiple times in the past, and, since it got so many votes in the Feedback and Feature Request Portal, the developers took notice and developed a new control that allowed for this kind of functionality: the Kendo UI Spreadsheet.

I encourage you to evaluate the possibility of using the Kendo UI Spreadsheet instead of the Kendo UI Grid in your application; your second request, calculating the total sum of all the values of a row in the last cell of said row, is one of the most common uses of the Kendo UI Spreadsheet.

I hope this helps.

Regards,
Eduardo Serra
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Pankaj
Top achievements
Rank 1
answered on 25 Oct 2016, 10:43 AM

Hi Eduardo,

one of the way i did it is by putting textboxes in cell templates. i want to go with this approach. however i have a query

Whatever user enters in these textboxes and clicks on the external button , i want updated grid values at the server side.however i want data on the server when the form is submitted through button (of submit type). NOTE : i don't want it through jquery ajax call

Please guide

 

0
Konstantin Dikov
Telerik team
answered on 27 Oct 2016, 05:28 AM
Hi Pankaj,

You can refer to the following example for posting Grid data with Form:
If you have correctly implemented the Grid to update the model through the cell templates, the above solution should allow you to submit the data as per your requirements.


Regards,
Konstantin Dikov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Grid
Asked by
Pankaj
Top achievements
Rank 1
Answers by
Eduardo Serra
Telerik team
Pankaj
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or