jQWidgets Forums
Forum Replies Created
-
Author
-
January 23, 2018 at 5:03 pm in reply to: How to get filter column name and its value How to get filter column name and its value #98402
if the column has both datafield and displayfield, getfilterinformation is giving displayfield.
Can we retrieve datafield in any way?July 26, 2017 at 8:21 am in reply to: How to identify the custom class of cell How to identify the custom class of cell #95144I applied custom class for error borders.
If i can identify if class ‘erroredcolumn’ while iterating cells of grid, that would be greatJuly 25, 2017 at 7:22 am in reply to: Change borders of cell on validation Change borders of cell on validation #95100I managed to highlight the borders of cells, but only bottom and right borders are i RED, what i am missing in highlighting all borders?
Click the button ‘click to validate’ to see the error-ed cell borders in RED
https://jsfiddle.net/ranadheemachineni/2pzLorvc/6/July 20, 2017 at 9:13 am in reply to: Grid cell validation tooltip don't appear Grid cell validation tooltip don't appear #95015http://jsfiddle.net/py4fags9/5/
In this example, first name also have validation.
But tool tip is not displayed for firstname with single row .
Can we have the row/column resized when there is a validation error?
I use 3.4 versionJuly 20, 2017 at 6:31 am in reply to: how to hise error message displaying by "showvalidationpopup" how to hise error message displaying by "showvalidationpopup" #95011Hi, does API supports hiding specific validation popup now ?
If yes, from which version?October 23, 2015 at 3:21 pm in reply to: jqxInput, autoselect on blur jqxInput, autoselect on blur #77268http://jsfiddle.net/Ngudz/32/
code is here.
1) Enter ‘a’
2) Do not select any of values auto populated
3) take focus out of text boxthe value ‘a’ should be disappeared
October 23, 2015 at 1:01 pm in reply to: jqxInput, autoselect on blur jqxInput, autoselect on blur #77263Thanks Dimitar.
I am using remote data in auto popup.
Using Source/DataAdapter
Any code snippet in that model?October 23, 2015 at 12:00 pm in reply to: jqxInput, autoselect on blur jqxInput, autoselect on blur #77258my code is here
var Source = function (request, response) { var billingDataAdapter = new $.jqx.dataAdapter ( { datatype: "json", datafields: [ ], url: "URL***********", data: { idStartsWith:request.term } }, { autoBind: true, formatData: function (data) { data.idStartsWith = request; return data; }, loadComplete: function (data) { if (data.length > 0) { response($.map(data, function (item) { return { label: item.id, value: item.id } })); } } } ); } $("#autoCompleteDiv").jqxInput( { placeHolder: "Enter here", height: 25, width: 200, minLength: 1, source: Source }); $("#autoCompleteDiv").on("blur", function () { var placeHolder = $('#autoCompleteDiv').jqxInput("placeHolder"); var value = $('#autoCompleteDiv').jqxInput('val'); if (value == "" || value == placeHolder) { return; } else { var filtergroup = new $.jqx.filter(); var filter_or_operator = 1; var filtervalue = value; var filtercondition = 'STARTS_WITH'; var filter = filtergroup.createfilter('numericfilter', filtervalue, filtercondition); var filteredBillings = new Array(); for (var i = 0; i < Source.length; i++) { var result = filter.evaluate(Source[i]); if (result) { filteredBillings.push(Source[i]); }; }; if (filteredBillings.length > 0) { $("#autoCompleteDiv").jqxInput("value", filteredBillings[0]) } else { $("#autoCompleteDiv").jqxInput("value", ""); }; }; });
October 23, 2015 at 11:52 am in reply to: jqxInput, autoselect on blur jqxInput, autoselect on blur #77257Hi,
In the above example the very first value in the popup is selected as default value if user selects nothing.
I am in similar situation. If user enters a value which does not exist in auto-popup list, i need the input value updated with place holder.
How to achieve that?.October 13, 2015 at 9:32 am in reply to: Celleditor and cellrenderer Celleditor and cellrenderer #76766Thanks for your reply Vladimir.
I am curious why other cells are rendered again on focusing editable cells?
Is there any way to prevent that?October 13, 2015 at 8:23 am in reply to: Celleditor and cellrenderer Celleditor and cellrenderer #76762and the above example is copy of http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/cellediting.htm.
Just altered the last two columns to radio buttons to reproduce the issue -
AuthorPosts