ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: npdev13 on July 03, 2019, 02:32:21 pm

Title: How to Remove value from NumberCell
Post by: npdev13 on July 03, 2019, 02:32:21 pm
Hello,

I have Pro version of PqGrid, what I have requirement is I want numberCell because need Drag & Drop functionality, But I not want number value in that cell as shown in screenshot. Can you please help me how to achieve it.

Thanks,
Title: Re: How to Remove value from NumberCell
Post by: paramvir on July 03, 2019, 06:10:09 pm
Your screenshot is missing. Anyway you can use a normal empty column, any column can be use for drag & drop.
Title: Re: How to Remove value from NumberCell
Post by: npdev13 on July 03, 2019, 06:13:11 pm
I have attached screenshot again, If you see the screenshot you will get idea what we need.
Title: Re: How to Remove value from NumberCell
Post by: paramvir on July 04, 2019, 05:29:09 pm
Numbers can't be removed from number columns.

Drag handle are displayed in number cells by default, they can be displayed in other cells by dragModel.diDrag option.
Title: Re: How to Remove value from NumberCell
Post by: paramvir on July 06, 2019, 09:05:46 am
css workaround can be used to remove numbers from number columns.  :)

Code: [Select]
.pq-grid-number-cell{
font-size:0 !important;
}
Title: Re: How to Remove value from NumberCell
Post by: npdev13 on July 06, 2019, 11:37:55 am
Yes it works, Thanks