Duplicated
Last Updated: 12 May 2021 10:29 by Rajesh
Rajesh
Created on: 01 May 2021 09:20
Category: UI for Blazor
Type: Feature Request
1
Telerik blazor grid Incell editing mode
In Telerik blazor grid  Incell editing mode once we edit existing grid row and modified and save.  after that how to add new row programmatically (automatically like excel).  No need to bother user to  click add button again and again to add row.
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
4 comments
Rajesh
Posted on: 12 May 2021 10:29

Hello Martin ,

How we can add the row programmatically in  Telerik blazor grid incell edit mode.

We need option to set where to inserted row in the grid at Top or bottom.( if  pageable is false)

ADMIN
Marin Bratanov
Posted on: 01 May 2021 17:15

Hi Rahesh,

The upper half (before the green Add button) is not a grid, it might be a form.

The grid itself can show calculated fields easily - you have two options for that:

  • have the calculated field directly in your mode, and set it to the Field of a column
  • Or, use the Template of a column to do the calculation you need

These are the two ways such calculations are done in a grid. Allowing the user to make up formulas is beyond the scope of a grid and would be available in the Spreadsheet component.

Regards,
Marin Bratanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Rajesh
Posted on: 01 May 2021 15:23

Hello Martin ,

Yes, It's like a Spreadsheet but not a spreadsheet. Please check the attached file for more info. (Accounting entry calculations)

If you provide these features into Grid. It will help with all grid calculations and it becomes more user-friendly. 

 

 

 

 

 

Attached Files:
ADMIN
Marin Bratanov
Posted on: 01 May 2021 10:16

Hello Rajesh,

This is a task for a spreadsheet component, not for a grid. You can Follow the implementation of a spreadsheet here: https://feedback.telerik.com/blazor/1442151-spreadsheet-component.

A grid cannot provide that UX for a number of reasons, such as:

  • it is not its goal and concept to be a spreadsheet
  • the last row is usually on a certain page and fetching the new page is usually a slow operation that may even depend on application logic, so the grid can't arbitrarily decide to do that
  • an insertion operation with incell editing happens immediately on the datasource, so the grid should not do this on its own either, it needs to have a meaningful use interaction
  • an inserted row in the grid is at the top of the current page and not at the bottom. Perpahs that might change through this enhancement but still, adding a record is not the grid should do on its own

 

Regards,
Marin Bratanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.