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
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.
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.
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
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.
Good explations really awesome Thanks
You are taking time to explain every think. Thank you so much.
Very simple video. To the point and informative, very few people make such good videos. Really thankful sir. Keep up the good work
Thanks alot
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 ??
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
Thanks alot. Your comments are a great source of motivation to me
very good video
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.
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.
u can delete record by importing delete record from uiRecordApi and passing record id to it......comparitively easier.....anyway great video
Yes we can use this import statement.
when i try, the page direction onrowaction view/edit show info page doesn't exist enter a valid url
Have you used the lightning navigationMixin in there??
is it possible to add refreshapex after onRowAction edit and delete
Refresh apex is only supported in @wire calls, i.e Aura enabled(cacheable=true) and not on imperative calls
Please make more videos on LWC
I agree with Ankit
Thanks
Can you upload to navigate to related records from lwc datatable by clicking the name link
Sure will do that
Can you make video on LWC and Aura for the same scenario(concept). It will be useful
Yes, soon
How to maintain state of selected records after search in Lightning data table
You can store them into an object array
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
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.
@@ProgrammingMadeEasy99 Glad that you replied, But could you please comment here the Apex part for the above problem? thanks
On what parameter do you want search kindly let me know will create the code accordingly
Hi bro can I have gamil I'd please
Check in the about section