I used this in my project and its working perfectly. Thanks a ton Venkat sir.
@rubbalbhusri43855 жыл бұрын
In the last, at 11:22 time of the video, the headings ("Is Even" and "Is Last") got wrongly placed. A minor correction, I searched in the comments, it seems nobody noticed. Your videos are a great start for any beginner and a source of revision of concepts.
@eugenenovikov6713 жыл бұрын
your English 50 times better than English of your Indian friends on freeCodeCamp and Udemy, thank u for clear speech
@satheshkumar59062 жыл бұрын
short, simple, and clear, thank you
@dipakranjansahoo57227 жыл бұрын
your tutorials are amazing,sir really i like it sir,i am ur fan
@subhankarshrivastava56386 жыл бұрын
one of the most talented person.
@lifeislove97506 жыл бұрын
Ya Thats Right
@laughandtune2 жыл бұрын
thanks for all the pain/efforts you took, for this video.
@SUMITKAUSHIK10006 жыл бұрын
You are simply great Thanks alot... This is soooo generous that u have given the notes as well I mean I cannot explain I am soo greatful to you
@niluniverse7 жыл бұрын
Its like people standing in Queue for iPhone in US / for Rajanikant movie in India. I m standing in queue for Venkat's Videos. I don't know my no in queue.
@nirajrajpurohit19587 жыл бұрын
This is awesome Thanks Sir. Really helpful for me. Please make a video to call the APIs in angular 2.
@prakashgunjari19965 жыл бұрын
Hi Venkat in the trackByEmpCode method, why do we need those parameters, index and employee. I tried running the code with out those parameters and it worked as expected, i.e with out refreshing the table elements. Infact I even made the return type as Void, it still worked. All the trackBy function would need is an empty method, to work, I think.
@ousamaelidrissi58864 жыл бұрын
Thanks a lot, keep going 👌
@mohsinazamafridi85667 жыл бұрын
Thanks for uploading this,it very nice,seen and implemented ,thanks @Venkat :) Be Blessed
@dvishal235 жыл бұрын
HI Venkat, Thank you for the tutorial. Your series on angular are great. I have a doubt regarding the trackBy, that if any value of one of the object changes, then it won't be updated on DOM, as we are not refreshing already loaded DOM. Could you help tackling such scenarios? Thank you Deep
@krish_techaadimulam22437 жыл бұрын
Ur Angular 2 videos r very useful for me thank u sir
@kinglikeking7 жыл бұрын
Hi Sir, Your tutorials are amazing and very helpful. I have a small query in this lesson. You have said that when we trackby in ngfor, then the previous columns will not be loaded again. In ngFor we have a last attribute, that specifies the last element. when we initially have 4 elements, the fourth element is treated as the last element, but when we add the fifth element, then the boolean value for the fourth element representing last should be made it to false and the fifth element should say it as true Please confirm whether it will happen?
@HemantSingh-pr7hd4 жыл бұрын
Nicely explained. Thanks.
@shridharjjoshi7 жыл бұрын
hi can we use index property of ngFor directly for interpolation instead of declaring varible
@kamdemkakengne4 жыл бұрын
Thank you so much Venkat
@mamdouhemara72997 жыл бұрын
hey Venkat, i have the following question but in ASP.NET Web API what if we want to make the response be like TotalCount, TotalPages and Entity Details so if we used HttpResponseMessage or IHttpActionResult the response will be Entity Details and other details like StatusCode Header etc so where we can add TotalCount and TotalPages?? also if we added the TotalCount and TotalPages in Class called XResponse along with the Entity Properties and make the Method return type XResponse in this case we can not control in the Status Code or Headers or anything that related to HttpResponseMessage?
@ymtan7 жыл бұрын
Dear Venkat, I would like to ask for the trackByEmpCode method how come you didn't pass any value for both the index and employee parameters from trackBy:trackByEmpCode specified with the ngFor directive ??? trackByEmpCode(index:number, employee: any): string { return employee.code; }
@sagardeshmukh61207 жыл бұрын
It is because, the trackBy function takes the index and the current item as arguments by default. Also, it needs to return the unique identifier for the current item.
@selvarajmunuswamy36566 жыл бұрын
empty method also return the same value like not reloading the trackByEmpCode() { } Not sure about those two parameter, why we have to use that trackByEmpCode(index:number, employee:any):string { return employee.code; } please explain Thanks in advance
@monakolanji6 жыл бұрын
Hi Venkat, just for testing I have removed the trackByEmpCode function from class and trackBy:trackByEmpCode from html and then build and hit F5. It gives the same result even after I removed them. Can you please explain?
@secretsquirrel55664 жыл бұрын
You Sir, are magnificent!
@anilvadlamudi20397 жыл бұрын
Hi Sir, Do you have your Azure videos, I would like to learn azure from your videos. Are you providing online course or if you have videos, I would like to buy your Azure videos.
@abhishektiwari92005 жыл бұрын
Although the tr elements are not being recreated every time after trackBy, but the selector tag of the component is getting refreshed. So indirectly the table is also being recreated ?
@antonoreshko95517 жыл бұрын
Hello, your tutorials are amazing! But your old tutorials (Java Script, Entity Framework etc.) used Web Forms. Today it's not longer relevant. Can you do similar tutorials using newer technologies (MVC, Web Api)
@RachitJain4U5 жыл бұрын
Awesome :) Thanks :)
@TheINTERLECT17 жыл бұрын
Why aren't you passing in the parameters when you are calling the trackByEmpCode function in the view template? Its expecting a number and an employee object. How does angular prevent the tearing down of the row if it does not have the arguments?
@shaun20997 жыл бұрын
If you change Tom to Tomy in method getEmployees(), will angular identify the change to the item? Of course, angular will show Tomy when click the button, that means trackby not only identify the change by employee.code, please explain!!!
@EnzoQuartana5 жыл бұрын
Always very good
@yele26527 жыл бұрын
thanks, sir. what happens if i update record - the employee code hasnt changed , therefor its record wont be uploaded again and data wont be updated on screen?
@dyldvine4 жыл бұрын
The trackByEmpCode function has two parameters. But when you specify this function in the ngFor directive, you do not pass any arguments to the parameters. I don't understand why that works. Where/how does it get the values passed into the parameters?
@sauravtanwer84353 жыл бұрын
Sir your voice is same as the professor in Money Heist :) .
@techie29034 жыл бұрын
trackByEmpCode(index:number, employee:any) method has some parameter when declaring it. So why parameters are not passed when applying it in the ngFor directive.
@sachinchakravarthys18076 жыл бұрын
Does trackBy is the keyword of ngfor ?
@HK-sw3vi4 жыл бұрын
thank you good sir! was looking for that i = index part
@satyaprakashsingh80517 жыл бұрын
HI, I am trying to follow the same step but can not able to get the map(). I have already imported the "import 'rxjs/add/operator/map'" but it does not work for me.
@pradeepsharma21636 жыл бұрын
this is little confusing i could see trackByEmpCode is a method that need index,employee to be passed when called. but while calling trackByEmpCode using trackBy:trackByEmpCode' we are not passing either index or employee parameter. could you please explain it
@DecentProgrammer4 жыл бұрын
thanks for the video sir
@semikolon42297 жыл бұрын
Very Helpful.
@nischalaks98387 жыл бұрын
Hi sir, great vedios and your explaination is too good. Please make some vedios on "non coding courses" which will be helpful for people who doesn't want to code. And apt for trendy non coding courses( I mean to say other than programming languages) which will be helpful for ladies as well. I hope il get a reply from you sir. Thanks in advance
@amitsunnysingh6 жыл бұрын
How trackBy will come to know that we want to track with employee code not with any other property If code and name has the same value string, then how its gonna track that
@TheShakthirvd5 жыл бұрын
Because in trackByEmpCode you are returning empcode to trackBy.
@juturisharon30757 жыл бұрын
pls make a video to call the apis in angular
@alankardasare47326 жыл бұрын
why index as parameter and returning code, why not code as parameter and returning the code?
@maheshippili79186 жыл бұрын
How to modify dom of an attribute when it clicked, that is in a ngFor loop
@subbaramireddygouru33147 жыл бұрын
please upload all videos
@pitchaipillai5197 жыл бұрын
could you please provide more videos with less interval between videos... waiting ..
@tanhoa15173 жыл бұрын
the video image is too poor, you need to fix it more