• nijat ali khan
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

If user enter min age, max age . fetch all the students in between that min and max age

  • in above example try to load students in ascending order based on age

 
<lightning-layout multiple-rows>                  
<template for: each={member Records} for:item="record">                      <lightning-layout-item key={record.Id} flexibility="auto" padding=0>                         <!-- Start bear tile -->                        
<lightning-card>                          
 <div>                              
<div>                                  
<div>                                    
<p class="center">{record.Constituent_Name__r.Name}</p>                <p class="center">{record.Begin_Term_Date__c} until {record.End_Term_Date__c}</p>                                  
</div>                              
</div>                            
</div>                        
</lightning-card>                        
<!-- End bear tile -->                      
</lightning-layout-item>                  
</template>                
</lightning-layout>    

Currently this uses cards to display the data But instead i want it to come out in a table with each row being a different member Record with 3 columns (Name, Start Date, End Date).  Could use some help on this?  
Thanks,
TM