Skip to content

Replies

0
Mohan Sisodiya
Mohan Sisodiya answered on Dec 5, 2016 2:41 PM

Hi Ivaylo,

Sorry about that. Please find the attached .zip archive.

Thanks,

Mohan

Attachments:
0
Mohan Sisodiya
Mohan Sisodiya answered on Dec 2, 2016 9:53 PM

Hi Ivaylo,

Please have a look at my code. First thing I want is to add new rows at the top of my table. Right now when I add a new row it is getting added at the bottom of the table. Also when I click on Add I am adding a new row with some defaults values but then again I click on Add, the last added row is getting added at the bottom but without default values. I don’t know why “editRowEnding” or “editRowEnded” are not getting called at all. It is also possible that I don’t enter the primary key field. “Done/Cancel” button is false in all the cases.

I want to add multiple rows and then when I click on save I am calling createStandardModelDTO. Please have a look at it and let me know if this is the right way to collect values from newly added row and old rows.

When I edit the row I want to push some properties to the datasource array which I can use in my rowtemplate.

Also please have a look at how I am setting read only properties in Updating feature.

Thanks,

Mohan

Attachments:
0
Mohan Sisodiya
Mohan Sisodiya answered on Nov 30, 2016 4:06 PM

Hi Ivaylo,

Thank you for your quick response. I can not make all rows read only. In my table their are some columns which are editable. I am attaching a code sample of mine for your reference.

And also the first column of my table is a “delete” button, I am not sure how I will add this button in the first column for new rows.

Thanks,

Mohan

Attachments: