by default editable cell

4 posts, 0 answers
  1. Pankaj
    Pankaj avatar
    10 posts
    Member since:
    Feb 2016

    Posted 21 Oct Link to this post

    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

     

  2. Eduardo Serra
    Admin
    Eduardo Serra avatar
    50 posts

    Posted 21 Oct Link to this post

    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.
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Pankaj
    Pankaj avatar
    10 posts
    Member since:
    Feb 2016

    Posted 25 Oct Link to this post

    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

     

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1796 posts

    Posted 27 Oct Link to this post

    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.
Back to Top
UI for ASP.NET MVC is VS 2017 Ready