Author Topic: Make Specific Cell of Grid Read-only/Editable  (Read 2444 times)

sidads

  • Newbie
  • *
  • Posts: 11
    • View Profile
Make Specific Cell of Grid Read-only/Editable
« on: October 05, 2016, 10:41:04 am »
Hello Experts,
I would like to make a cell of Grid either Editable or Read-only based on certain values in other cells.. Please advise on how to achieve this.. so far I have been able to disable a whole column but I need to lock down one specific cell.
Any guidance is very much appreciated.
Best Regards
sids

sidads

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Make Specific Cell of Grid Read-only/Editable
« Reply #1 on: October 05, 2016, 11:48:19 pm »
Hello Experts,
I have tried the below technique but it doesn't seem to work and its likely because I am still using the old 1.1.3 version.

Code: [Select]
grid.addClass({ rowIndx: rowIndx, dataIndx: dataIndx, cls: 'disabled' });
I am thinking I can get the Cell and then apply some CSS to the cell might work... Kindly let me know how do I achieve this for older version