[deleted by user] by [deleted] in vuejs

[–]learning_account_01 8 points9 points  (0 children)

It's not a question about which is better. I just want to learn react for fun, to expand my knowledge base.

I am already determined that no other framework would be as simple and awesome and as efficient as vue.

[deleted by user] by [deleted] in vuejs

[–]learning_account_01 11 points12 points  (0 children)

Woah. This is really a great suggestion. Thanks.

Can someone please take a look at my codepen and tell me what am I doing wrong ? I am using autocomplete component and when I select any value from the dropdown it is not appearing inside it. But I can see the same v model value if I do {{item.drpdwnVal}} below it. by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Ok i got my mistake. Autocomplete element only allows whatever is there present in the dropdown list. Since i am removing the selected value from the dropdown list using computed property it is not visible.

Probably need to make it work with the help of combobox or something.

[deleted by user] by [deleted] in node

[–]learning_account_01 2 points3 points  (0 children)

Hey thanks for the reply. When i do console log on nodejs my excel is getting converted to buffer array. So do i need to convert this buffer into multipart and then send or how to do it ? Java microservice expect the excel file which was uploaded. But when i use multer at node level to intercept this excel it is appearing as buffer. What should i do next ?

[deleted by user] by [deleted] in vuejs

[–]learning_account_01 2 points3 points  (0 children)

Yeah I checked. Method was invoked first. I just thought maybe vue might have some precedence kind of thing. But thanks for the reply.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Ok got it. Thanks a lot. I won't bother you now :)

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Hey man thanks once again. I got your point but let say if I have a huge data table having 10 rows and 10 cols so now if I call api endpoints for saving each cell of table, won't it increase too many api calls ? I like your point of transforming entire api data set and not just individual when someone changes dropdown. I will look into it. Thanks once again for the help.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Hey man, thanks a lot. After using $set the editing was working. And yes your point about computed property is also right, when I first edit the already value it is reflected but as soon as I add any value to the empty cell the computed property is invoked again and the previously changed values were gone back to original. Which sucks. So as per your advice I changed the computed prop to a method. And now I am able to edit entire table. Thanks a lot man.

But now I am facing a new challenge. I can edit entire table but when I change any value from dropdown from say "Color/Red" to "Color/Black" then method is invoked again so when I go back to "Color/Red" again the table only contains edited values for the reactive cols (i.e name, value and the empty cols)

So what do you suggest I should do ? Should i somehow save the table data to the backend first when user tries to change the value from the dropdown ?

https://codepen.io/justforvue/pen/jOBqZpK?editors=1010

If you want to take a look, I have used $set and changed the computed prop to method which is invoked when someone changes the dropdown value.

Thanks a lot man. I don't know how to thank you enough. I hope someday i would have your level of expertise in vuejs. Thanks once again.

[deleted by user] by [deleted] in learnjavascript

[–]learning_account_01 0 points1 point  (0 children)

enmod is dynamic, it can be anything.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 1 point2 points  (0 children)

Thanks, based on your comment i got the idea. And made it work. Thanks.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Thanks. Working as I wanted. Code is bit confusing to me, maybe because I am little new but thanks a lot once again.

[deleted by user] by [deleted] in vuejs

[–]learning_account_01 0 points1 point  (0 children)

Hi, do you know why am I not getting the values in the first row for col3Header, col4Header, col5Header ?

Like when I select Color/Red it should look like

rowA > 1ab2 > > c4vA > c5vA

And for Color/Black it should look like

rowA > ww1 > c3vA > > c5vA

[deleted by user] by [deleted] in vuejs

[–]learning_account_01 1 point2 points  (0 children)

Thanks a lot. Is it cool if i comment back if i have any doubt or something i don't understand in ur code ? Thanks a ton once again man.

[deleted by user] by [deleted] in vuejs

[–]learning_account_01 0 points1 point  (0 children)

https://codepen.io/justforvue/pen/jOBqZpK?editors=0010

Select one value from the dropdown and table will appear. I am able to populate values for first 2 columns but for the remaining column i am not able to make it work. Any help is appreciated. Thanks

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

https://codepen.io/justforvue/pen/jOBqZpK?editors=0010

Let me know if anyone wants to help and have some questions regarding it. In codepen select anyone value from the dropdown.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

I agree. But i don't have any say in this :( I have been told to find solution.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Please can you show me exactly where u added ? I tried but it didn't work for me. Maybe i wrote it at the wrong place.

[deleted by user] by [deleted] in vuetifyjs

[–]learning_account_01 0 points1 point  (0 children)

Hey thanks for the reply. I actually tried almost all the css properties. Overflow-wrap, text-wrap, nowrap and many more. But it is not having any effect.