Author Topic: ui.rowIndx and ui.colIndx return undefined  (Read 3643 times)

noctrona

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
ui.rowIndx and ui.colIndx return undefined
« on: March 18, 2014, 07:08:44 am »
Hi,

I post this question yesterday but didn't pass the verification for about 12 hours. I don't know whats happened and try to post this again.

After I change to pro version, I found when I get ui and try to get rowIndx or colIndx will be return "undefined".

For example:
Code: [Select]
{ title: "Product", width: 152, dataIndx: "product",
   editor:{
              type: function(ui){
                  alert(ui.rowIndx);
                  alert(ui.colIndx);
                  //dropDownEditor(ui, productList);                 
             },
             getData: function(ui) {
                  //saveProduct;
             }
   }
}
For the above code, the "ui.rowIndx" and "ui.colIndx" will be "undefined".

And for the following codes:
Code: [Select]
$grid.pqGrid({
            cellSave: function( event, ui ) {
                var DM = $grid.pqGrid("option", "dataModel");
                var CM = $grid.pqGrid( "option", "colModel" );
                var gridData = DM.data;
                var colIndex = ui.colIndx;
                var rowIndex = ui.rowIndx;
            }
        });

I can get the rowIndx but colIndx also undefined.


Do I miss any rule for pro version?


Thank you!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: ui.rowIndx and ui.colIndx return undefined
« Reply #1 on: March 18, 2014, 08:27:53 am »
Noctrona

You need to have a PRO account in order to post in the PRO group.

There is no PRO license record in your name.

Could you please mention your txn ID so that your account can be upgraded.


noctrona

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
Re: ui.rowIndx and ui.colIndx return undefined
« Reply #2 on: March 18, 2014, 10:04:24 am »
Noctrona

You need to have a PRO account in order to post in the PRO group.

There is no PRO license record in your name.

Could you please mention your txn ID so that your account can be upgraded.

Hi Team,

I got it. Actually we have a pro version for another user and the txn ID under his account. We will buy more licenses later.

Thank you!