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 - rgorantla

Pages: 1 [2] 3 4 ... 6
16
Help for ParamQuery Pro / Dynamic colModel from database
« on: August 23, 2017, 06:36:16 pm »
Instead of writing the colmodel - I am trying to make it dynamic i.e.e, to get the complete col-model from database.

ex: if there are new columns next year, i do not want to edit the JavaScript instead if i add a column in database with necessary properties - i should be able to get it with inline functions,etc...

Any way to do this?

17
Help for ParamQuery Pro / Re: Couple of Questions
« on: August 23, 2017, 01:50:41 am »
hi,

2nd point got it to work . Thanks!

1st point :  I think i got it to work but state is having only few properties but not all properties. For ex : for Order Id i have class etc.. but all i see in the state is
{"colModel":[{"width":50,"dataIndx":"OrderID","filter":{}} ..Please let me know what else should i add to get this to include all properties - The reason i am asking is to get the complete colModel from database,

18
Help for ParamQuery Pro / Re: Couple of Questions
« on: August 10, 2017, 08:31:23 pm »
for the 1st one : Thank you, but i still have a an issue - i will send a sample

2. its the same as how it works in your demo. https://paramquery.com/pro/demos/showhide_columns . Instead of adding it in the order of the colmodel definition - can we show at the end. ?

19
Help for ParamQuery Pro / Re: Couple of Questions
« on: August 08, 2017, 06:25:03 pm »
  • Can you provide me an example of how the col model should be when saving to database and how ?

    second question - yes i was using push but whenever i show/hide columns - they are appearing in the order of how col model is defined but not to the end

20
Help for ParamQuery Pro / Couple of Questions
« on: August 02, 2017, 12:15:57 am »
1. Save State and load State from database:
    I am trying to save and load columns /Column Model to and from Database on to the Grid.Also, after re-ordering - would like to save it to database.
    Local storage is working fine but not database.

2. show/hide columns : when we select a column to hide or unhide can we push those to the end

21
Bug Report / Re: Do not show selected options but show default
« on: July 07, 2017, 01:00:49 am »
ok, thanks.

Looking forward for the fix

22
Bug Report / Re: Do not show selected options but show default
« on: July 06, 2017, 07:52:47 am »
I was able to get my 1st question work by using the following in pqselect :maxDisplay: 0,
                display Text: "Select/Unselect Columns" .

But if you can give me a work around for 2nd question - that would be great.

thanks!

23
Bug Report / Do not show selected options but show default
« on: July 05, 2017, 11:49:43 pm »
Hi,

I am using pqselect to shos/hide columns. But we do not want to see the column names again(please see optionsselected image). Instead show a "text" everytime

Another Question :

I set maxselect as 2 , sleected options do not show more than 2 but i can still check  the other options. If the maxselected is reached- we shouldn't be able to check too.
Any workaround for that?

24
Help for ParamQuery Pro / Re: Dropdowns
« on: January 07, 2015, 11:12:14 pm »
Hi,

Please see the code below :  I still dont see the values.. Can you please correct whats wrong in this?

function clientsauto() {
        var jst;
        $.getJSON(clientslink, function (data) {
            var o = _.object(_.map(data, function (x) { return [x.Value, x.Text] }));
            jst = JSON.stringify(data);
            console.log(jst); // jst has [{"Text":"Select a Client","Value":"0"},{},{..}]
            return jst;
        });       
    }

 editor: {
                    type: "select",
                    options: clientsauto,
                    getData: function (ui) {
                        return ui.$cell.find("select").val()
                    }

                },
                render: function (ui) {
                    var options = ui.column.editor.options,
                        cellData = ui.cellData;
                    for (var i = 0; i < options.length; i++) {
                        var option = options;
                        if (option[cellData]) {
                            return option[cellData];
                        }
                    }
                },

25
ParamQuery Pro Evaluation Support / Re: Saving remote data
« on: January 07, 2015, 07:14:58 am »
My bad - had e in recindex ...

Thank you.

26
Help for ParamQuery Pro / Re: Dropdowns
« on: January 07, 2015, 07:09:31 am »
Hi,

Thank you !

could you please provide me an example for JSON data

27
ParamQuery Pro Evaluation Support / Saving remote data
« on: January 05, 2015, 09:15:30 pm »
Hi ,

I have remote Json data (3 rows) - i change data in those 3 rows and click save - Update list doesnt have any data

But if i create new rows and click save - list have data for those new rows .


Can you tell me what am i missing here?

28
Help for ParamQuery Pro / Dropdowns
« on: January 05, 2015, 09:11:40 pm »
Hi,

Happy New Year!

I have JSON data returning text and value - how do i display text in dropdowns ? I also need value of it but hidden

29
Help for ParamQuery Pro / Re: Expand or overlay the Grid
« on: November 09, 2014, 10:59:55 pm »
any update please

30
Help for ParamQuery Pro / Re: Expand or overlay the Grid
« on: November 07, 2014, 07:03:36 pm »
Hi,

yes i know abt collape and expand . i was talking something about some button - when clicked on it it will expand the grid to fit in current page width.

if that is what is going to be implemented- could you please share me that piece of code so i can integrate it?

thanks!

Pages: 1 [2] 3 4 ... 6