Author Topic: Input boxes come open.  (Read 1062 times)

mscodigno

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 24
    • View Profile
Input boxes come open.
« on: March 09, 2021, 12:07:25 pm »
Hello,
1 -> Ater the grid is loaded, I want the input boxes in the editable fields in the last line to come open. Is this possible?

----

2 -> When the 'PARA BİRİMİ' option changes, I want to turn off the editability of the 'KUR' field on the same line.
« Last Edit: March 09, 2021, 12:45:49 pm by mscodigno »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Input boxes come open.
« Reply #1 on: March 09, 2021, 02:10:37 pm »
1. Only one editor can be activated at a time. Rest of the editors can be activated by single click or by focusing the cell.

Please use this code to activate editor in the first editable cell in last row.

Code: [Select]
grid.on('complete', function(){
  this.editFirstCellInRow({rowIndx: this.pageData().length - 1});
})

2. Please check this example on conditional editability.

https://paramquery.com/pro/demos/readonly_cells