ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: stoodin on April 16, 2014, 09:36:21 pm

Title: tabbing between cells with custom dropdown editor
Post by: stoodin 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.
Title: Re: tabbing between cells with custom dropdown editor
Post by: paramvir 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
{

}
Title: Re: tabbing between cells with custom dropdown editor
Post by: stoodin 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.