Hello,
|
1 2 3 4 5 6 7 8 9 |
$("#jqGrid").navGrid("#jqGridPager", { … multipleSearch: true, multipleGroup: true, showQuery: true, tmplNames: [Template One, Template Two], tmplFilters: [template1, template2], … }); |
Just do the same you do – open the code editor and paste your text – mystery
Hello,
I will investigate what is happen. I have installed support for TinyMCE so you can format the text fine. In the upper right corner just click Visual button to use the editor.
I have created this code with it.
I will continue to investigate the problem.
Thank you for the feedback.
Kind Regards,
Hello,
Can you please post (or send us) the code you have a problem with loading the record.
We do not have a particular demo, for your second case, but you can bind a change event in the select – then load the record with your own ajax function populating it on the form and then let the form to do the job.
If you send us a simple test case we will try to help you.
Kind Regards,
Hello Ken,
Are you using Mac to copy/paste code? It seems there is a problem with this.
As I say in my previous post in pivotGrid the column names are build dynamically.
It is not know what will be at the final colModel.
I see you set a member QueueCount and expect that there will be a field with the same name. You should understand the pivot – the member QueueCount is applied to the source data named QueueCount, but this data is transformed in different fields.
So depending on your data if you have a field in the QueueCount named foo then the colmodel will be something like QueueCount_foo_sum_0 (this is just example).
Kind Regards,
Can you please, if possible, to check it with Chrome.
Another test is if you write by example manually 2-3 row of code and try.
Could be a problem with a copy/paste.
Regards,
Hello Ken,
1. You can enable titles in column headers globally setting the grid option
headertitles => true. In this case the title has a the content of the label.
2.If you want to set for a particular column diffrent title you can use setLabel JavaScript method with empty data set and se the properties parameter
|
1 |
$("#grid").jqGrid('setLabel', 'colName', '', '', { title: 'My new Title'} ); |
Kind Regards
Hello Ken,
When a PivotGrid is used the columns are created dynamically depending on the data.
It is not recommended to use colnames to add labels.
You can use setLabel java script method to set the label names in columns, but you will need to know the name of the column from colModel, which is generated dynamically too.
I know there is a little problem with the labels on the grouping headers and thin we will fix it in the next release.
Kind Regards
Hello,
I will try to include this in the next release, but I do not promise.
Kind Regards
Which browser do you use?
After copy/paste I see some special character
Hello,
Aha, will take this in account too (todo list).
Regards
Hello,
You can build a modal window (using jQuary UI dialog) and attach a input field to its content where a datepicker is used.
Visit the jQuery UI site demos for the modal and datepicker.
After you have this you can simple call the function in navButtonAdd.
Regards
Hello,
I’m not sure what you do, but I every time reformat your code.
Just select the code and bush the cde editor button and NO code – that is all.
Do not any other bbs codes when you format the code.
Regards
Hello,
Thanks for the feedback.
For now it is not possible to add custom buttons in the search dialogs, but we I can think about this. Will replay to you.
Kind Regards
Hello,
Yes there is a little problem with the BBS codes.
I suggest you if you post a code not to use the code tag or button, but instead of this just mark the source code and the press code editor button. This will open a new modal window and you will select the language used.
The BBS code tag is broken and I will fix this ASAP.
Kind Regards
Hello,
I think yes. Look at the parameters of renderGrid – there is one called echo, which can echo the result or return one as object.
This you can determine if you are in export and conditionallly call the renderGrid
|
1 2 3 4 5 |
if($grid->export == 'csv') { // call renderer with echo false } else { // call renderer with echo true (default) } |
Kind Regards
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top