jQWidgets Forums
Forum Replies Created
-
Author
-
If I use this:
$('#someWindow').jqxWindow({width:width, height:height});
http://jsfiddle.net/tzwQX/111/
it`s working fine.Thank for help.
It’s working great in my case.Sometimes you have dropDawnList on the bottom of the window/form,
this option will be very practical.February 20, 2013 at 8:28 pm in reply to: Bug – scrolling after editing Bug – scrolling after editing #15575If someone needs, I fixed this bug:
All you must do is just write this:$("#Grid").on('cellendedit', function (event) { var args = event.args; $("#Grid").jqxGrid('endcelledit', args.rowindex, args.datafield, args.value); });
And you can scroll without clicking outside the grid.
var cellsrenderer = function (row, column, value, defaultHtml) { if ($("#grid").jqxGrid('getrowdata', row).checked != false) { var element = $(defaultHtml); element.css({ 'background-color': '#D4E7ED', 'width': '100%', 'height': '100%', 'margin': '0px', 'padding' : '3px' }); return element[0].outerHTML; } return defaultHtml;}
Now it works – thank you for help.
It works.
thank you for help.February 17, 2013 at 8:47 am in reply to: Bug – scrolling after editing Bug – scrolling after editing #15361But when you select row in this example,
and then click on grid – wheelscrolling not working.
You must click outside the grid and then click on grid to wheelscrolling start working.$(‘#grid’).jqxGrid(‘focus’); // not helping
February 15, 2013 at 6:35 am in reply to: selected item in auto-complite input selected item in auto-complite input #15277Yes,
but I need whole object from source, not only value of input.February 14, 2013 at 7:41 am in reply to: dropDown listMenu too long dropDown listMenu too long #15217It’s working.
But can we add jqxScrollBar to the dropDown list?
Now all layout have theming scrollbars withouth this dropDpwn list.Maybe some solution will be used jqxDropDownButton with jqzlistBox instead of listMenu?
But right now your help resolve my problem.
So I cannot select and unselect the same day, without selecting another day?
I see that I can’t even set value as none or empty.
It’s always must by a some value, like numberInput with zero ?February 12, 2013 at 7:30 pm in reply to: jqxMenu – dynamicly change jqxMenu – dynamicly change #15094Thanks for quick help.
February 12, 2013 at 2:24 pm in reply to: jqxMenu – dynamicly change jqxMenu – dynamicly change #15078But how can I change onClick method?
This is class to create items:
var Person = function (name, items) { this.label = name; this.items = items != undefined ? ko.observableArray(items) : ko.observableArray(); this.visible = ko.observable(true); this.addSubItem = function () { if (this.items().length < 1) { this.items.push(new Person("New Item")); } else if (this.items().length == 1) { this.items.push(new Person("Last Item")); this.visible(false); } } }
Now I create new person (li in my example)
new Person("B");
But how to define ‘id’, ‘onclick’ or s’tyle’?
When I delete cache from my browser – it’s work correctly.
On 2.6.1 it is not working
but on ver.2.7 it’s works.cache.remove() – help
-
AuthorPosts