jQWidgets Forums
Forum Replies Created
-
Author
-
August 28, 2019 at 6:37 am in reply to: Changing the colour of column headers where column groups are present Changing the colour of column headers where column groups are present #106615
Hello – Peter,
A further question.
Regarding colour shading of column groups, i.e.
columnGroups: [ { text: 'Product Details', align: 'center', name: 'ProductDetails' }, { text: 'Order Details', parentGroup: 'ProductDetails', align: 'center', name: 'OrderDetails' }, { text: 'Location', align: 'center', name: 'Location' } ]
Does this type of specification also support the classname property?
If not, how does one change the colour of a column group heading?
Many thanks,
Alastair
August 28, 2019 at 6:14 am in reply to: Changing the colour of column headers where column groups are present Changing the colour of column headers where column groups are present #106614Hi – Peter,
Thank you very much! Just what I am looking for!
Alastair
August 19, 2019 at 1:22 pm in reply to: Text formatting in Key Column when the column is resized Text formatting in Key Column when the column is resized #106526Ok – that makes good sense!
Thank you!
Alastair
January 30, 2017 at 10:56 am in reply to: Using jqxTooltip with jqxDropdownlist – Is this possible? Using jqxTooltip with jqxDropdownlist – Is this possible? #91094Thank you very much!
Alastair
January 26, 2017 at 8:05 am in reply to: Using jqxTooltips on jqxToolbar – is this possible? Using jqxTooltips on jqxToolbar – is this possible? #91018This is great!
Thank you very much!
The effort is appreciated!
Alastair
October 27, 2016 at 2:28 pm in reply to: Getting the correct date format using 'getrowdata' Getting the correct date format using 'getrowdata' #88543Yes – I agree – now that I have had a chance to think about it. Global variable is the way to go.
Thank you!
Alastair
October 27, 2016 at 7:53 am in reply to: Getting the correct date format using 'getrowdata' Getting the correct date format using 'getrowdata' #88531It was a good idea until I tried to use in my own context.
The ‘problem’ with the jqxdataAdapter is that it is not associated with a selector. The consequence of this is that it cannot be selected/used outside of its immediate context of instantiation.
In simple terms, if it was created in a function somewhere, and you need to access the adapter in a different context (i.e. function) – it cannot be done.
Unless I am missing something?
Alastair
October 27, 2016 at 7:21 am in reply to: Getting the correct date format using 'getrowdata' Getting the correct date format using 'getrowdata' #88527That is absolutely brilliant! I would never have cottoned onto that approach!
I was exploring a rather tedious route through javascript to convert the UTC format. But this approach saves a lot of bother!
Many thanks,
Alastair
September 27, 2016 at 9:08 am in reply to: Validator actions and javascript events – what exactly is the relationship? Validator actions and javascript events – what exactly is the relationship? #87720Many thanks for response!
It is still not clear to me how the mapping/translation is performed between the jqxValidator term i.e. ‘blur’ and the javascript event (say ‘onBlur’).
Is the user/designer responsible for the mapping, or is this mapping undertaken within the jqxValidator widget?
Kind regards,
Alastair
September 20, 2016 at 12:23 pm in reply to: What actions are available for rule? What actions are available for rule? #87539Following-up from the question raised above, I am trying to relate the actions in the API documentation (i.e. ‘blur’) with javascript events i.e. the list below, as a sample:
onblur – When a user leaves an input field
onchange – When a user changes the content of an input field
onchange – When a user selects a dropdown value
onfocus – When an input field gets focus
onselect – When input text is selected
onsubmit – When a user clicks the submit button
onreset – When a user clicks the reset button
onkeydown – When a user is pressing/holding down a key
onkeypress – When a user is pressing/holding down a key
onkeyup – When the user releases a key
onkeyup – When the user releases a key
onkeydown vs onkeyup – BothTo use a js event like ‘onblur’ do I simply write the action part of the rule as
action: onblur
It is not clear how the js actions are mapped to the Validation references i.e. how ‘blur’ is mapped to ‘onblur’.
An explanation will be helpful.
Many thanks,
Alastair Walker
August 24, 2016 at 5:48 am in reply to: Access to ComboBox values using Grid event geteditorvalue Access to ComboBox values using Grid event geteditorvalue #86791Thank you very much! I will try this out.
Alastair
August 18, 2016 at 8:44 am in reply to: Access to ComboBox values using Grid event cellendedit? Access to ComboBox values using Grid event cellendedit? #86662By following up your suggestion, I have assembled the following script:
geteditorvalue: function (row, cellvalue, editor) { var items = editor.jqxComboBox("getSelectedItems"); checkedItems = []; jQuery.each(items, function (index) { checkedItems.push(this.label); }); var currentValue = checkedItems.join(); }
Now what is not clear to me is how to return (i.e. save) the currentValue back into the grid cell.
I tried ‘return currentValue;’ but this does not yield the correct (or any) result.
(Also, clicking on a different cell does not seem to close the editor. How does the editor close?)
Am I missing something here?
Any guidance on how to save the currentValue in the grid cell will be appreciated!
Alastair
August 15, 2016 at 3:20 pm in reply to: Access to ComboBox values using Grid event cellendedit? Access to ComboBox values using Grid event cellendedit? #86552Ok – I get it!
Many thanks!
Alastair
August 11, 2016 at 4:33 pm in reply to: A bug in ComboBox when used with Expander A bug in ComboBox when used with Expander #86498Thank you – Christopher – I am glad there is a simply remedy!
Alastair
June 20, 2016 at 12:03 pm in reply to: Rounded borders for jqxInput? Rounded borders for jqxInput? #85270How can I change the border-radius size to say 5px?
Many thanks,
Alastair
-
AuthorPosts