Based on the common value of Country and City. I want to group rows and provide single button for any action which will be applicable for both the records. eg below

enter image description here


This sort of behavior isn't supported in lightning-datatable. You'll want to write your own custom component if you need this sort of behavior.

  • Thanks. can this be achieved through custom table? – Lokesh Kumar Feb 8 at 10:24
  • @LokeshKumar Yes, you can certainly make your own table. – sfdcfox Feb 8 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.