This is a migrated thread and some comments may be shown as answers.

Bug with image class in Inline Edited Grid

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Philip Senechal
Top achievements
Rank 1
Philip Senechal asked on 01 Aug 2012, 07:11 PM
I believe I may have found a bug in the class assignment of spans when using a Grid with inline editing. When adding a new record with a field that is designated as a number, I get a textbox with arrow on the right to adjust the value up or down. Both arrows that are appearing are up arrows. I looked at the rendered code and saw the following:

<span class="k-select">
  <span unselectable="on" class="k-link">
    <span unselectable="on" class="k-icon k-i-arrow-n" title="Increase value">Increase value</span>
  </span>
  <span unselectable="on" class="k-link">
    <span unselectable="on" class="k-icon k-i-arrow-s" title="Decrease value">Decrease value</span>
  </span>
</span>

notice the "k-i-arrow-n" and "k-i-arrow-s" classes. These are not located in the CSS file. I changed the classes to "k-arrow-up" and "k-arrow-down" and the arrows rendered properly.

I've added local style definitions on my page to correct this, but thought I would let you know to update the code. Thanks.

1 Answer, 1 is accepted

Sort by
0
Philip Senechal
Top achievements
Rank 1
answered on 01 Aug 2012, 07:27 PM
Actually, this is my issue. For some reason, the old version of the CSS file was being referenced in my View. I updated it to the new version and everything looks fine.

Sorry about the confusion
Tags
Grid
Asked by
Philip Senechal
Top achievements
Rank 1
Answers by
Philip Senechal
Top achievements
Rank 1
Share this question
or