Ratings Column Size

  1. #1

    Ratings Column Size

    Hi,

    I've got a ratings column in a gridpanel that display fine except that there are far too many stars shown! I tried setting the TickSize and MaxRating values (or, what I understand them to do) but this doesnt seems to help. I'm still ending up with loads of stars instead of say, 5 or 6.

    <ext:RatingColumn DataIndex="WeightingScore" Header="Confidence Level" Sortable="true"
                             AllowChange="false" TickSize="50" MaxRating="200" />
    Could the problem be the values I'm using? My 'WeightingScore' values are a lot larger than those in the examples; generally 135, 85, 200 - those kinds of numbers.

    Cheers,
    Peter
  2. #2
    You can mark this as solved. I just put a converter onto the weightscore column and divided it by 10 to produce smaller values. The TickSize property does seem to control the number of stars shown at once... still not sure what the MaxRating property does but regardless it looks perfect now ;)

Similar Threads

  1. [CLOSED] Grid column auto size
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 28, 2011, 7:30 PM
  2. [CLOSED] Dynamic GridPanel: Column widths are always the same size
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 22, 2011, 3:37 PM
  3. [CLOSED] Scroll column size in the Grid
    By majunior in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 19, 2011, 3:17 AM
  4. [CLOSED] GridPanel Column Size Restore from Cookie
    By ecerrillos in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 29, 2010, 7:05 PM
  5. [CLOSED] [1.] GRIDPANEL: Change column size cause error
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 01, 2010, 9:57 AM

Tags for this Thread

Posting Permissions