Recent Posts

Pages: [1] 2 3 ... 10
1
filterModel.hideRows feature and hidden rows can't be used at same time.
2
Help for ParamQuery Pro / Re: jQueryUI Tabs
« Last post by queensgambit9 on December 07, 2019, 07:00:33 pm »
Thanks, works fine.

When using multiple grids with tabs I would like to define each grid in separate .js files and then load each grid in main file...what would be a good way to do this?
Tried using
Code: [Select]
$.getScript("test.js")...but function is undefined when called in main function...although it exists after load?
3
filterModel.hideRows feature is available since v6.2.4. Which version of grid are you using?

However, when I hide the rows, I use filtering, which will filter out the hidden rows as well. Could you please tell me how to solve this problem?
4
Help for ParamQuery Pro / Re: Drag n Drop: function to evaluate drop rows
« Last post by paramvir on December 06, 2019, 09:55:29 pm »
Please use empty implementation of dragModel.beforeDrop callback.

Code: [Select]
                dragModel: {
                    on: true,
                    clsDnD: 'dnd3',
                    diHelper: ['proj'],
                    beforeDrop: function(){
                   
                    }
                },

https://jsfiddle.net/quoxkzvn/

https://paramquery.com/pro/api#option-dragModel
5
Help for ParamQuery Pro / Re: Differentiating between 2 drag sources
« Last post by WynApse on December 06, 2019, 08:48:23 pm »
Awesome, thanks!

I thought maybe I could put in multiple drop classes and have them comma-separated, but it was near the end of the day, and didn't want to wait until this morning to try it and then find out I needed to ask, so just posted to be proactive.
6
Help for ParamQuery Pro / Export to excel data within the row details
« Last post by neoinbiz on December 06, 2019, 08:00:13 pm »
Is there an ability to export data from the row details along with main data when exporting to csv?
7
Help for ParamQuery Pro / Re: jQueryUI Tabs
« Last post by paramvir on December 06, 2019, 04:05:19 pm »
Grid in a tab needs to be refreshed whenever the tab is activated ( activate event ).

Please check this demo: https://paramquery.com/pro/demos/grid_in_tabs
8
Help for ParamQuery Pro / Re: Differentiating between 2 drag sources
« Last post by paramvir on December 06, 2019, 10:43:28 am »
dropModel.accept: Its syntax is same as css selectors. More than one source can be defined by separating corresponding classes with a comma.

Origin of drag source can be identified from the grid property of Drag object. And Drag object can be obtained from ui.helper in isDroppable and drop callbacks of dropModel.

https://paramquery.com/pro/api#option-dropModel

https://paramquery.com/pro/api#method-Drag

https://www.w3schools.com/cssref/css_selectors.asp
9
Help for ParamQuery Pro / Re: jQueryUI Tabs
« Last post by queensgambit9 on December 06, 2019, 04:30:20 am »
Still having problems with tabs.
When using remote data with tabs it seems it won't assign data to grid.

Grid code works fine outside tabs but when divs are nested (tabs) it wont assign data to grid. I get json string returned fine...but no rows are displayed.

Any idea?


10
Help for ParamQuery Pro / Differentiating between 2 drag sources
« Last post by WynApse on December 06, 2019, 04:25:42 am »
I have 3 grids.
One is the main display.
The second is employees, the third projects.

I have a clsDnD defined for dragging from Projects to the main, and the accept has the clsDnD in it and that works fine.

Now I want to setup a clsDnD in the Project grid and be able to ALSO drag from Projects to main.

I'm not seeing how to differentiate between the two drag sources, or even if how to add a second clsDnD to the 'accept' on the destination.

Thanks!
Pages: [1] 2 3 ... 10