Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gopigupta

Pages: [1] 2 3
1
Help for ParamQuery Pro / Export to pdf
« on: April 26, 2024, 12:18:53 pm »
Hello,

Is there any demo available to export grid into pdf for ver. 9.0.2. Also, I am looking for inbuild functionality and would like to avoid use of any third party library(eg. pdfmake)

Thanks

2
Help for ParamQuery Pro / Re: Data exported as text for numeric column
« on: January 18, 2024, 03:29:39 pm »
Thanks you for quick response :)

3
Help for ParamQuery Pro / Data exported as text for numeric column
« on: January 18, 2024, 02:22:35 pm »
Hello,

I need one help for export.

I am exporting grid into excel file. The data for grid is coming from server side(.net code) and it is coming in text format for all columns even for numeric columns. I have kept datatype as "float" and format as "##,###.00" for numeric columns in grid but still when I export data, numeric columns are exported as text in excel file.

Is there any easy way to change data into numeric before we export it into grid.

Thanks.   

4
Thank you for providing solution.

5
Thank you for quick reply.

The solution provided below(leafIfEmpty property) only works well if we use deleteNodes to remove child nodes. I want to undo all changes so I have used rollback followed by refreshDataAndView. Adding leafIfEmpty: true does not solve issue in this case.

6
Hello,

I am using tree grid(vs.9.0.2). When child node is added, parent row shows leaf icon to indicate it has child rows(ScreenShot1). when I rollback changes using below code, the parent row still show leaf icon even though it does not contain any child rows(ScreenShot2).

GridApi.rollback();
GridApi.refreshDataAndView();

Can you please provide solution on how to remove leaf icon if parent node does not have any child nodes 

7
Help for ParamQuery Pro / Re: First row data hidden under header
« on: December 15, 2023, 04:19:39 pm »
no, the first solution is also not working for v9.1.0. It is not possible to provide issue in jsfiddle but I noticed that this issue does not come till v8.6.0(pqgrid.min.js file)

Is it possible for you to create a jsfiddle showing grid header working fine on modal dialog box

8
Help for ParamQuery Pro / Re: First row data hidden under header
« on: December 15, 2023, 09:05:36 am »
Sorry, I added above code in css file but it does not solve the problem. Header is still overlapping with 1st row of grid.

9
Help for ParamQuery Pro / Re: First row data hidden under header
« on: December 14, 2023, 03:07:21 pm »
Thank you. Will this solution work on v9.0.2 as one of my application is using this version?

10
Help for ParamQuery Pro / First row data hidden under header
« on: December 14, 2023, 11:28:11 am »
Hello,

I have started experiencing issue after updating to v9.1.0. Grid's header overlap with some part of first row. This issue only happens when the grid is shown on jquery dialog box(as attached screenshot1)

Clicking on 1st row cell does show data correctly(as attached screenshot2)

Please help to resolve this issue.

Thanks     

11
Help for ParamQuery Pro / Re: Limit rows in multiline entries in pq grid
« on: December 14, 2023, 10:39:32 am »
Thank you for quick response

12
Help for ParamQuery Pro / Limit rows in multiline entries in pq grid
« on: December 13, 2023, 04:41:01 pm »
Hello,

I am using textarea in pqgrid to enter multi lines in a cell. I want to restrict users to add text only till 5 lines in text area. Is there any way to achieve this?

My code to have text area in cell:-


{
                title: "Field value",
                width: "300",
                dataIndx: "CFValue",
                dataType: "string",
                editable: true, nodrop: false, nodrag: false,
                editor: {
                    type: "textarea",
                    attr: "rows=5 cols=58",
                    style: "resize:both;",
                    appendTo: 'grid'
                },
                editModel: {
                    saveKey: '' //disable or set it to some other key code to free up use of Enter key for line breaks.
                },
                menuInHide: true, hidden: false,
                validations: [{ type: 'maxLen', value: 5000, msg: "Maximum length allowed is of 5000 chars long!" }],
                filter: { crules: [{ condition: 'contain' }], conditionList: ['range', 'contain'], labelIndx: 'CFValue' }, 
            },


13
Thank you very much. Issue is resolved after applying the patch.

14
Thanks for reply.

Right now, I cannot upgrade it to 9.1. Can you please provide some patch work that I can apply in pqgrid.js file to fix this issue temporary.

I will try to upgrade to 9.1 in application in next release cycle.

15
Help for ParamQuery Pro / Show/Hide columns not working in vs9.0.2
« on: December 06, 2023, 09:45:37 am »
Hello,

I have updated prgrid to vs9.0.2. I am using show/hide functionality of columns using menuUI method. This functionality was working fine before update. But now it has stopped working and giving error when clicked on show/hide menu.

I tried to check code through below link but the functionality is not working in the demo site too.

https://paramquery.com/pro/demos/showhide_columns#:~:text=In%20the%20below%20example%2C%20the,grouped%20column%20parents%20in%20menu.

I am getting below error in developers tool. Please help to resolve this issue.

pqgrid.min.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'hideCols')
    at pqgrid.min.js:9:411706
    at Array.map (<anonymous>)
    at i.getMenuHtml (pqgrid.min.js:9:411663)
    at i.open (pqgrid.min.js:9:412724)
    at i.onMenuClick (pqgrid.min.js:9:413377)
    at i.onHeadCellClick (pqgrid.min.js:9:411494)
    at p (pqgrid.min.js:9:12092)
    at t._trigger (pqgrid.min.js:9:12674)
    at pq.cRenderHead.onHeaderCellClick (pqgrid.min.js:9:128060)
    at pq.cRenderHead.onHeaderClick (pqgrid.min.js:9:126213)

Pages: [1] 2 3