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

Best approache to popup editing when incell mode?

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 16 Oct 2014, 05:48 PM
Hello,
    I'm relatively new to Telerik and I'm getting a bit stumped about what the best way to proceed is.

I have a grid running InCell mode, however, for a particular cell:

1. I need to pop a list of selections the user can pull from. These selections would then be appended to the text in the cell.
2. The user needs to retain the ability to type in the cell. (which I believe rules out using a multiselect instead)

To that end, I have a grid  with a  command button set up that displays a list of choices in a modal Kendo window using a partial view. You can see this in the attachment. I am trying to append the list of items to the "Comment" column in the main grid.

However, I'm still having issues doing the following:
1. Getting the selected id from the main grid and feeding this into the partial view so that the list shows the correct items for the main grid row.
2. Iterating through the rows in the partial view, getting the checked items and passing the data back to the main grid.

I'm going in circles with javascript and not getting the data back to the main grid.

So, I'm wondering if there is a simpler way to do what I'm trying to accomplish?

The most obvious one is to use the Mutiselect, but I don't think that satisfies the criteria of the user being able to type whatever they would like in addition to making choices.

If anyone has a better notion of how to approach this, please let me know.

Thanks,
Dave 


1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 20 Oct 2014, 02:47 PM
Hello David,

Sadly KendoUI does not provide you with such multi-value widget that allows you to enter custom values and there is no feasible way to enable such behavior for the MultiSelect widget. Let us know if we can be of any further assistance about the built-in widgets.

Regards,
Petur Subev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or