Hello,
You can put in editoptions any valid options related for this element.
Try this:
|
1 2 3 4 5 6 |
colModel : [ {name :'MyName', ..., editoptions : {title: 'My Tooltyp is here',...} } ... ] |
Kind Regards,
Hello,
It all depends how you build the select al client side.
If you use the editoptions value this can be something like this:
|
1 2 3 4 5 6 7 |
colModel : [ { name: 'Myname',..., editoptions: { value : ":No Rows Available to Insert;"...} ... ] |
If you use build select then the simple way is to send to the server this:
|
1 2 3 4 5 6 |
<SELECT> <OPTION value=""> No Rows Available to Insert</option> </SELECT> |
You then can analyse if the value posted at server is empty and not to insert it.
If yo put select without options it is just empty select without any text.
Not sure if this is exactly a problem of jqGrid.
Hello,
Any chance to send us the problematic e-mail, so that we can look into the server configuration.
Kind Regards,
Hello,
Sorry for this inconvenience.
I just speak with our hosting provider.
Can you please send to us the returned e-mail with the error.
For now you can write to support at trirand dot com.
Also permanentley you can write your e-mail to this mail or write your problem here in the forum.
Thank you for the patience.
You will be notified when the problem will be resolved.
Kind Regards,
Hello,
Just to note – we have fixed the problem with the formatting.
Kind Regards,
Hello,
Without a test case I can not see what is happen. Try to isolate the problem running only jqGrid files and CSS.
Kind Regards,
Hello,
Your php code should be in separate file and not in the same where the grid is builded. I think you understand what you do wrong.
Kind Regards,
Hello,
The code
|
1 2 3 4 5 |
$(“#refresh_grid-table”).click(function(){ jQuery(grid_selector).jqGrid(‘clearGridData’); jQuery(grid_selector).jqGrid(‘setGridParam’, {data: grid_data}); jQuery(grid_selector).trigger(‘reloadGrid’); }); |
is not correct.
The code that will work is
|
1 |
jQuery("#refresh_grid-table").trigger("click"); |
This is so, since the click is alredy binded to this button.
If possible can you please poast a simple test case.
Also if you set
loadonce: true,
the the data becomes local after it is loaded and the reloading will work only on local data.
Kind Regards,
Hello,
The code
|
1 2 3 4 5 |
$(“#refresh_grid-table”).click(function(){ jQuery(grid_selector).jqGrid(‘clearGridData’); jQuery(grid_selector).jqGrid(‘setGridParam’, {data: grid_data}); jQuery(grid_selector).trigger(‘reloadGrid’); }); |
is not correct.
The code that will work is
|
1 |
jQuery(grid_selector).trigger("click"); |
This is so, since the click is alredy binded to this button.
If possible can you please poast a simple test case.
Also if you set
loadonce: true,
the the data becomes local after it is loaded and the reloading will work only on local data.
Kind Regards,
Hello,
The script actually sends the colModel when it is created.
Expand the HTML console and see what are the names.
Then try tiy use them.
Another problem is that during the call is possible that the names are not build due to transformation delay.
Can you please try to add the setLabel code within setTimeout function.
Kind Regards,
Hello,
I see in your code you have in PHP file
echo …
which echoes some javascript files.
It is not recommended to do this.
Load these files separately and live here only PHP code.
Please let me know if this fixes the problem
Kind Regards,
Hello,
Do you have chance to configure this?
Kind Regards
Hello,
You can look into the html content (the modal) generated in the search dialogue. And then with a little JavaScript to add a button and attach the needed code. If you need help on this, please let me know.
Kind Regards,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top