Results 1 to 4 of 4

Thread: created by the renderer selectbox does not work on firefox.

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    2

    Default created by the renderer selectbox does not work on firefox.

    First, I apologize that's not good at English.
    I've made using renderer html selectbox in Ext.grid.Panel.Column.
    its work in chrome. but its not work in firefox.
    show all list in selectbox when i click selectbox.
    and i click one of list. I expect change values??. but Nothing happened.

    this is my code.

    ....
    columns: [
    {
    text: 'requestDate',
    width: 100,
    dataIndex: 'reqDt',
    renderer : cellRnd
    },
    ....

    function cellRnd (val, meta, record, rowIndex, colIndex, store) {
    if( val == "chk"){
    returnHtml = '<select id="select'+ rowIndex + colIndex +'" name="select'+ rowIndex + colIndex +'">';
    returnHtml += "<option value="01" selected>true</option>";
    returnHtml += "<option value="01" selected>false</option>";
    returnHtml += "</select>";
    }else{
    returnHtml = val;
    }
    return returnHtml;
    }

    Does anybody know?

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    May want to check our Skirtle's component column and use a combobox component instead.

    http://skirtlesden.com/ux/component-column
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    2

    Default

    thank, mitchellsimoens
    but your link is broken~ check plz

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448
    Answers
    3997

    Default

    Quote Originally Posted by ahmax View Post
    thank, mitchellsimoens
    but your link is broken~ check plz
    Just tried it and it works.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •