ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: hirehop on May 18, 2023, 09:18:05 pm

Title: Summary in TOP
Post by: hirehop on May 18, 2023, 09:18:05 pm
Hello
i have small Issue with summary in Top its not editable but its allow to enter the cell

how to disable to enter the cell
Title: Re: Summary in TOP
Post by: paramvir on May 18, 2023, 09:58:26 pm
Could you please share a small test case in jsfiddle.
Title: Re: Summary in TOP
Post by: hirehop on May 22, 2023, 06:57:23 pm
Here I have sent you jsfiddle link

i think i have got the issue but i dont know the solution
issue is i am tring to set max character 45 that is the issue

jsfiddle js_line_no : 23

https://jsfiddle.net/hirakwebguru/nsfvb51h/36/
Title: Re: Summary in TOP
Post by: paramvir on May 23, 2023, 04:22:00 pm
1. Please use editor.type = "textbox" instead of "input"

2. Add editable callback to prevent editing of summary row in your case:

Code: [Select]
editable: function(ui) {
  return !ui.rowData.pq_gtitle;
},

https://jsfiddle.net/vm4j0orb/
Title: Re: Summary in TOP
Post by: hirehop on May 26, 2023, 02:32:45 pm
thanks a lot