ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Highlight the Grid Row when inline editing
Title:
B
I
{code}
?
I need a Grid Row that's inline Editable and highlighted lets say Yellow during the user is inline Editing it. Therefore I tried to make it selectable at same time but its not working for me. Also when its Inline Editable it loses its Background color after selecting and leaving the row. even in your Example. https://demo.aspnetawesome.com/GridInlineEditDemo
Save Changes
Cancel
c4
asked at 01 Mar 2019
Answers
B
I
{code}
?
while the row is in edit mode it has the o-glrow class so you can add this css in your site.css: .awe-row.o-glrow, .awe-row.awe-selected.o-glrow { background: fuchsia; } to fix the row losing alternate color when clicking cancel problem in awem.js after: `var nrow = $(api.renderRow(item, null, rowi));` add this line: `$row.hasClass('awe-alt') && nrow.addClass('awe-alt');`
Save Changes
Cancel
Omu
answered at 01 Mar 2019
Thank you Sir both is working now!
at 01 Mar 2019
c4
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