jQWidgets Forums
Forum Replies Created
-
Author
-
September 4, 2015 at 8:38 am in reply to: Dropdownlist popup within Grid boundary Dropdownlist popup within Grid boundary #75485
Hello Yatin,
I have tested the functionality using this demo and I can see that it is working as expected. When I am using a small browser window the menu is correctly opened to the direction where it has enough space.
Note that the menu is attempting to recognize browser boundaries, and not grid boundaries. If however, you don’t want it to get out of the grid boundaries, I am afraid that there is no such option.If you are still having an issue with browser boundries can you please provide a fiddle with the problem and steps to reproduce it?
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 4, 2015 at 8:01 am in reply to: Getting a certain value from Json, inside a jason.. Getting a certain value from Json, inside a jason.. #75483Hello Programmerswe,
Ideally you would want to get your data in correct JSON format, and not as a string. So if can modify the server output that would be the desired way to go.
However if you really need to parse the string, you can try doing it the loadComplete function of the dataAdapter.
You can look at this fiddle for an example of how it could be done.Note however that for the JSON.parse() function used in the example to work, the string needs to be formatted with the double quotes used for the inner values.
'Comment':'{"Comment": "Hello World!"}'
Otherwise you will need to parse it yourself and set the correct data to the appropriate record field.
You can try using replace for that e.g.:
records[i].json = JSON.parse(originalRecords[i].json.replace(/\'/g,'"')).Comment;
Also note that in case you need to send back data to the server (e.g. comment editing) you may need to write quite complex logic to return the same format.
I hope that helped you.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 3, 2015 at 2:44 pm in reply to: Getting a certain value from Json, inside a jason.. Getting a certain value from Json, inside a jason.. #75468Here is a fiddle to see it in action:
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 3, 2015 at 2:25 pm in reply to: Dropdownlist popup within Grid boundary Dropdownlist popup within Grid boundary #75465Hello Yatin,
The
dropDownHeight
property is only applied whenautoDropDownHeight
is set to false.In the mentioned thread the workaround uses a variable auto which is set depeneding on the number of items loaded. And is then used to set the autoDropDownHeight property.
var number = source.length; var auto; if (number > 10) { auto = false; } else { auto = true; };
In the fragment you’ve shown, you are using the ‘auto’ variable, but you have not included the code logic behind it, so I guess your problem is somewhere there.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 3, 2015 at 2:13 pm in reply to: Getting a certain value from Json, inside a jason.. Getting a certain value from Json, inside a jason.. #75464Hello Programmerswe,
You can use the mapping functionality of the dataAdapter for this.
example:datafields: [ {name: 'Customer', type: 'string'}, {name: 'Name', type: 'string'}, {name: 'json', type: 'string', map: "json>comment"} ],
You can read more about it in the dataAdapter documentation.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Thomas,
Yes you can set transparent background. The class you want to set the transparent background to is .jqx-widget-content.
So you can use css like this.body { background-color: #CCCCCF } #panelWidget.jqx-widget-content, #panelWidget .jqx-widget-content{ background: transparent; }
Here is an example fiddle.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 2, 2015 at 10:44 am in reply to: grid filterable, how to change the Localization of dropdownlist? grid filterable, how to change the Localization of dropdownlist? #75388Here is a fiddle with a demonstration of the localization:
https://www.jseditor.io/?key=jqwidgets-grid-localizationYou can either use the ‘localization:’ parameter during the grid initialization.
Or if you need to set it after the initialization or change the language, you can use the following:
$("#jqxgrid").jqxGrid('localizestrings', localization);
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 2, 2015 at 10:06 am in reply to: grid filterable, how to change the Localization of dropdownlist? grid filterable, how to change the Localization of dropdownlist? #75387Also take a look at the documentation page for grid localization.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comSeptember 2, 2015 at 9:49 am in reply to: grid filterable, how to change the Localization of dropdownlist? grid filterable, how to change the Localization of dropdownlist? #75386Hello yangtsecxf,
You should take a look at the grid localization demo.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Evgenia,
I am sorry but there is no such option.
What you can do is change the default font to a font that you will not be using.
This way you will have the font you have selected for each text.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comAugust 28, 2015 at 10:32 am in reply to: Grid Grouping | Custom Group Header Rending Issue Grid Grouping | Custom Group Header Rending Issue #75258Hello Raj,
The groupsrenderer function is a callback itself, so no there is no callback of the callback function.
Performance is expected to be affected as much as any custom rendering logic affects it, so it shouldn’t be an issue for you.As for your second question.
You can get the data.groupcolumn.datafield to identify the column criteria for the grouping, and you can use the group parameter to identify the unique value according to which these records are grouped together.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Evgenia,
This is the default settings for the jqxEditor and is auto generated on widget creation.
You can overwrite the styles using the stylesheets: option.
example:
stylesheets: ['editor.css'],
You can check this demo for an example.
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comHello Evgenia,
From what I see in your example. The default font-style for the document body on the editor page is already set to Verdana, and this is why setting text to Verdana removes the element style because it is already the active font.
If you change the default font, it will properly set inline style for the element for fonts different than the default one.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comAugust 28, 2015 at 8:48 am in reply to: Grid Grouping | Custom Group Header Rending Issue Grid Grouping | Custom Group Header Rending Issue #75240Hello Raj,
Since the groupsrenderer function rerenders the content, in order to achieve what you want, you need to store the value of the button in a variable (outside the scope of the renderer function) and use its value to set the initial state of the button in the renderer function.
This way it will always rerender with the proper state.Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.comAugust 28, 2015 at 8:00 am in reply to: Change input source dynamically Change input source dynamically #75236Hello Karen,
The answer is yes it is possible.
Since I’ve noticed you have posted a separate thread about it in the proper section, I will link it here in case other people have the same question.Multiselect-cascading-combobox
Best Regards,
VladimirjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts