Results 1 to 2 of 2

Thread: Setting value to grid on change of combo box

  1. #1

    Default Setting value to grid on change of combo box

    We are implementing the functionality of "CellClick event" on the combox inside the grid, When a value is selected from the combo box we have to set the RowIndex value to the respective row column inside the grid (this row column is uneditable) . We are unable to do the same.




    The following code was being tried out for the same.




    fnOnCellclick: function(grd, td, cellIndex, record, tr, rowIndex, e, eOpts){

    if(cellIndex == 1)// represent the combobox column inside the grid


    {
    lcData=rowIndex; //give the row count


    if(record.data.combobox!= null)
    {

    record.data.rowcolumn=lcData; //setting the value to the required column

    }
    }

    Thanks.

  2. #2
    Sencha Premium User
    Join Date
    Nov 2014
    Location
    Kansas
    Posts
    781
    Answers
    102

    Question

    I'd like to test this along with you. Can you post a simple test case either inline here or at https://fiddle.sencha.com?


    Regards,
    Brian

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
  •