Lightning Datatable | Search Functionality in Datatable lwc with Row Selection

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ส.ค. 2024

ความคิดเห็น • 31

  • @naveenkumarjai8368
    @naveenkumarjai8368 11 หลายเดือนก่อน +1

    Good explations really awesome Thanks

  • @chithraprakash8392
    @chithraprakash8392 2 ปีที่แล้ว

    You are taking time to explain every think. Thank you so much.

  • @AnkitSharma-ok7ll
    @AnkitSharma-ok7ll 2 ปีที่แล้ว +2

    Very simple video. To the point and informative, very few people make such good videos. Really thankful sir. Keep up the good work

  • @nitinsen2939
    @nitinsen2939 ปีที่แล้ว

    is something new in summer 23 release regarding prebuild search feature with lwc datatable so we dont need to add a text box for search ??

  • @rahidulislam7372
    @rahidulislam7372 ปีที่แล้ว +1

    You are Great. Excellent video. It's really helpful. Simple but very very informative. I have subscribed your channel. Please continue to make this type of videos. Thank you

    • @ProgrammingMadeEasy99
      @ProgrammingMadeEasy99  ปีที่แล้ว

      Thanks alot. Your comments are a great source of motivation to me

  • @programtime5526
    @programtime5526 2 ปีที่แล้ว +1

    very good video

  • @SachinM1985
    @SachinM1985 ปีที่แล้ว

    We have lwc component, in that adding products by clicking checkbox but when I uncheck that box count still showing that one product selected? What is the issue here, can you please help on it.

    • @ProgrammingMadeEasy99
      @ProgrammingMadeEasy99  ปีที่แล้ว +1

      In the event handler where you are selecting the product you need to first check whether the checkbox value is being set to true or false as true indicate that is is checked and false means unchecked.
      After this condition you just need to simply increment and decrement the count.

  • @sendilnathan4477
    @sendilnathan4477 2 ปีที่แล้ว +1

    u can delete record by importing delete record from uiRecordApi and passing record id to it......comparitively easier.....anyway great video

  • @ahmatzulkiflimurad2052
    @ahmatzulkiflimurad2052 2 ปีที่แล้ว +1

    when i try, the page direction onrowaction view/edit show info page doesn't exist enter a valid url

  • @naveenkumarjai8368
    @naveenkumarjai8368 11 หลายเดือนก่อน

    is it possible to add refreshapex after onRowAction edit and delete

    • @ProgrammingMadeEasy99
      @ProgrammingMadeEasy99  11 หลายเดือนก่อน

      Refresh apex is only supported in @wire calls, i.e Aura enabled(cacheable=true) and not on imperative calls

  • @chithraprakash8392
    @chithraprakash8392 2 ปีที่แล้ว

    Please make more videos on LWC

  • @chithraprakash8392
    @chithraprakash8392 2 ปีที่แล้ว +1

    I agree with Ankit

  • @chithraprakash8392
    @chithraprakash8392 ปีที่แล้ว +1

    Can you upload to navigate to related records from lwc datatable by clicking the name link

  • @chithraprakash8392
    @chithraprakash8392 2 ปีที่แล้ว +1

    Can you make video on LWC and Aura for the same scenario(concept). It will be useful

  • @praveengupta3015
    @praveengupta3015 ปีที่แล้ว +1

    How to maintain state of selected records after search in Lightning data table

  • @SachinKumar-vm1tp
    @SachinKumar-vm1tp 2 ปีที่แล้ว +1

    Hi bro, great video. if you search on basis of multiple fields like name, phone, then what would be the apex. Could you you please comment the apex class here? thanks

    • @ProgrammingMadeEasy99
      @ProgrammingMadeEasy99  2 ปีที่แล้ว

      In such situations where we want multiple params we could pass all such fields as method parameters in Apex and would make use of dynamic query. Why dynamic query bcz like u take 3 params name,phone ,email in the parameters but at a time you are passing only 1 of them either name,phone or email. Rest 2 would be null so inside apex method we would make checks for all these like if name is not null then query would be this or that and so on.
      Other things that could be thought of is that pass 1 parameter to Apex and modify the query to like name= searchString OR email like searchString.
      We could also have more such alternatives but all depends upon the requirements.
      Hope you like the solution.

    • @SachinKumar-vm1tp
      @SachinKumar-vm1tp 2 ปีที่แล้ว +1

      @@ProgrammingMadeEasy99 Glad that you replied, But could you please comment here the Apex part for the above problem? thanks

    • @ProgrammingMadeEasy99
      @ProgrammingMadeEasy99  2 ปีที่แล้ว

      On what parameter do you want search kindly let me know will create the code accordingly

  • @narurehavenvillage
    @narurehavenvillage 2 ปีที่แล้ว +1

    Hi bro can I have gamil I'd please