ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
New Grid tbody gets rendered twice??
Title:
B
I
{code}
?
I updated to ASP.net MVC Awesome 4.7 and now tbody of my grid get rendered twice. $("#Grid1 tbody") [<tbody class=?"awe-tbody">?</tbody>?, <tbody class=?"awe-tbody">?…?</tbody>?] For the last version, it's only one tbody: $("#Grid1 tbody") <tbody class=?"awe-tbody">?…?</tbody> Now my application suddenly has a lot of problems. Is that a bug or is there any purpose behind that??
Save Changes
Cancel
CuLacGionTan
asked at 03 Jul 2015
There are two tbody because of the frozen rows feature, however this shouldn't be a problem unless your custom js relies on having just one, in which case you should change it When updating replace all files, js,css,dll
at 04 Jul 2015
Omu
This is a really big breaking change for us. We have around 30 grids that relied upon the fact that there will be only one tbody. Is there an easy way to identify which tbody is for the frozen rows and which one is for the actual data. can we add a class to all tbody's that contain data?
at 06 Jul 2015
CuLacGionTan
yes, it is: $grid.find('.awe-content .awe-tbody') you can see that yourself by using chrome web tools (F12) and use inspect element (view the html) it would be interesting to know what custom js are you doing and why
at 07 Jul 2015
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK