Author Topic: tabbing between cells with custom dropdown editor  (Read 2924 times)

stoodin

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 85
    • View Profile
tabbing between cells with custom dropdown editor
« on: April 16, 2014, 09:36:21 pm »
Hi guys,
1. I've implemented the custom dropdown editor but navigating between cells is not possible unless I click with mouse on another cell. "Enter" just opens the dropdown and tab takes me to another grid on the same page.
I am sure I am missing something because the regularly editor type:"select" works fine, just a custom doesn't.

2. Also is there any way to customize grid title cls for a specific grid. I can change the div.pq-grid-title but it impacts all grids on the page and I need to change a grid title background color on one grid only

Thanks a lot for your help.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: tabbing between cells with custom dropdown editor
« Reply #1 on: April 17, 2014, 01:04:54 pm »
1) Please add ui.cls and name = ui.dataIndx to the select list as shown in the demo for custom editors.

2) Add ancestor selector to title css rule.

#selector div.pq-grid-title
{

}

stoodin

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 85
    • View Profile
Re: tabbing between cells with custom dropdown editor
« Reply #2 on: April 17, 2014, 08:11:46 pm »
Supper. Everything works now!!!
BTW your dropdown editor doesn't have class and name in the select: http://paramquery.com/demos/editing_custom
Thanks a lot.