jQWidgets Forums
Forum Replies Created
-
Author
-
August 26, 2020 at 9:35 am in reply to: Button after click – how to remove the border? Button after click – how to remove the border? #112823
I get the idea! Many thanks for pointing me in the right direction!
Alastair
June 4, 2020 at 1:32 pm in reply to: Row colouring of rendered item using coloured rows with checkboxes Row colouring of rendered item using coloured rows with checkboxes #112139Many thanks for the comments!
I will try out the suggestion!
Alastair
April 1, 2020 at 1:49 pm in reply to: Work around to achieve cellhover effect Work around to achieve cellhover effect #111601Hi – Hristo,
I think I got it figured out. The method to use is:
hitTest Method
Gets an item at specific position. The method expects 2 parameters – left and top. The coordinates are relative to the document.
Parameter Type
left Number
top Number
Return Value
Object
Code example
Invoke the hitTest method.
var item = $(‘#jqxTree’).jqxTree(‘hitTest’, 10, 20);By passing the event.clientX and event.clientY information to this method I managed to get the item details.
Alastair
April 1, 2020 at 11:31 am in reply to: Work around to achieve cellhover effect Work around to achieve cellhover effect #111597Hello – Hristo,
I have managed to get the event triggered to yield event.clientX and event.clientY positions.
I now need to identify the row specifically. I have looked at using the getItem method, but that still requires that I map the position information into element information.
i.e. //Invoke the getItem method.
// @param element (li tag)
var item = $(‘#jqxTree’).jqxTree(‘getItem’, element);Do you have any suggestions as to how the position information can be mapped to element information, and so be able to use the getItem method?
Many thanks,
AlastairApril 1, 2020 at 10:53 am in reply to: Work around to achieve cellhover effect Work around to achieve cellhover effect #111595Many thanks! I will try this out!
Alastair
March 19, 2020 at 9:31 am in reply to: Read-only mode for ddl checkboxes? Read-only mode for ddl checkboxes? #111458Thank you very much! That is very helpful!
Best regards,
Alastair
December 10, 2019 at 6:00 am in reply to: Set the active row without accompanying event? Set the active row without accompanying event? #107541Thank you very much!
The helpful response is really appreciated!
Best regards,
Alastair
November 11, 2019 at 12:16 pm in reply to: Changing tools in the toolbar – anomalous behaviour Changing tools in the toolbar – anomalous behaviour #107301Ok – I get it!
Thank you for the comments!
Best regards,
Alastair
October 23, 2019 at 2:38 pm in reply to: jqxInput: Change the text alignment to center jqxInput: Change the text alignment to center #107116OK! I get it!
Thank you for the help!
Many thanks,
Alastair
October 23, 2019 at 2:35 pm in reply to: Hide/show controls on the toolbar Hide/show controls on the toolbar #107115Thank you! This is very helpful!
Many thanks,
Alastair
October 21, 2019 at 12:53 pm in reply to: Toolbar support for a progress bar Toolbar support for a progress bar #107068Thank you very much!
This is very helpful!
Many thanks,
Alastair
October 4, 2019 at 1:31 pm in reply to: Dropdownlist in cell – not displaying displayMember Dropdownlist in cell – not displaying displayMember #106940Thank you for your help! It is really appreciated!
Alastair
September 12, 2019 at 2:06 pm in reply to: treegrid with dropdownlist having value and display members treegrid with dropdownlist having value and display members #106745Thank you!
Alastair
September 11, 2019 at 12:07 pm in reply to: treegrid with dropdownlist having value and display members treegrid with dropdownlist having value and display members #106724Thank you – Hristo, the revised fragment certainly works.
I am, however, curious, about this code fragment:
var dataAdapter = new jQuery.jqx.dataAdapter(source, { loadComplete: function () { }, beforeLoadComplete: function (records) { changeNestedRecords(records); return records; } });
I have looked at the API for the dataAdapter, but can find no reference the functions loadComplete, and beforeLoadComplete.
Can you point me to any documentation that supports this solution?
My concern is that I will have quite a few columns that need to be treated in the same way, so I will need to correctly understand the principle behind your solution.
Again, many thanks!
Alastair
August 28, 2019 at 11:55 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 #106620Thank you very much!
Alastair
-
AuthorPosts