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

Issue with Inline Editing and Multiple Rows

4 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Suneetha
Top achievements
Rank 1
Suneetha asked on 17 Dec 2016, 12:12 AM

Hi,

I have a grid with editable = inline. Not all columns are editable. Below is the sequence of steps that I follow and the issue.

1) Click on Edit button in first row

2) Without clicking Update/Cancel on first row, click on Edit on 2nd Row  

3) Without clicking Update/Cancel on 2nd Row, click on Edit on 3rd Row => Data for non-editable columns are copied from first row to 2nd row

4) Without clicking on Update/Cancel on 3rd row, click on Edit on 4th Row => Data for non-editable columns are copied from first row to 3rd row

Any help is APPRECIATED!!

 

Thank You!!

4 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 20 Dec 2016, 08:48 AM

Hello Suneetha,

I am unable to observe the behavior on our end e.g. in the following example. Could you modify it in order to reproduce the case or send us a separate isolated runnable example, that we could inspect locally?

I am looking forward to hearing from you.

Regards,
Dimiter Madjarov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Suneetha
Top achievements
Rank 1
answered on 20 Dec 2016, 06:07 PM

Hi Dimiter,

I'm unable to repro in the Dojo. But truly, the issue is happening because when a row is Edited without canceling out from previous row, Edit state is still retained in previous rows. Could you please suggest as to why this must be happening. Attached is the screenshot of the issue.

Thanks!

0
Suneetha
Top achievements
Rank 1
answered on 20 Dec 2016, 06:37 PM

Hi Dimiter,

UPDATE: When i provided Id for model as one of the column names, then it stopped copying the values from previous rows. However, the editable fields still stays on the right side for previous rows IF there is atleast 1 locked column. If there are no locked columns, then the editable state is not retained.

Could you please suggest as to why does the editable state persist when locked columns are present?

Thanks!

0
Dimiter Madjarov
Telerik team
answered on 22 Dec 2016, 08:45 AM

Hello Suneetha,

It is still hard for us to pinpoint the exact reason for this behavior, without inspecting a runnable example that demonstrates it. If possible, please provide such (or edit some of our existing demos), so we could check it on our end.

Regards,
Dimiter Madjarov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Suneetha
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Suneetha
Top achievements
Rank 1
Share this question
or