Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Dropzone and Linq Items not work #145

Open
schorges opened this issue May 25, 2022 · 0 comments
Open

Multiple Dropzone and Linq Items not work #145

schorges opened this issue May 25, 2022 · 0 comments

Comments

@schorges
Copy link

How can i only show the selected items from list?

Id like to drag Items in a Table with cols and rows, on change Items from itemas to ausgewahlteMitglieder
i have in all cols and rows the same list ....

@foreach(var line in timeRow)
       {                         
           <div class="row">                 
               <div class="col">
                   @line
               </div>
               @foreach(var spal in spalten)
               {
                   var itemas = ausgewahlteMitglieder.Where(x => x.PlanerTime == spal+line).ToList();
                   <div class="col">  
                       <Dropzone Items="itemas" TItem="MitgliederListe" OnItemDrop="(i) => i.PlanerTime = spal+line">
                          @context.UserVorname
                       </Dropzone>
                   </div>
               }
           </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant