Forum Replies Created
-
Author
-
November 20, 2015 at 9:39 am in reply to: Drag Event is still true when grid looses focus Drag Event is still true when grid looses focus #78373
Thank you Hristo this resolves the issue!
I had already tried a trigger(‘click’) on the body or various other elements but did not think of ‘mouseup’
Thank you for this.
November 19, 2015 at 9:37 am in reply to: Drag Event is still true when grid looses focus Drag Event is still true when grid looses focus #78336Hi,
I just wondered if someone had managed to look at the example I posted?
The issues seems to be related to the fact there is an iframe inside the tabs.
Thanks
November 18, 2015 at 2:14 pm in reply to: Drag Event is still true when grid looses focus Drag Event is still true when grid looses focus #78297Hi Hristo,
Thanks for your reply. Here is an example of the issue I just knocked up, it shows the basic issue but code is a but messy:
http://jsfiddle.net/realtek/7pdyg/373/
Just double click a cell, and then when the second tab gets selected move your cursor outside of the tabs widget and you will see the row drag image appear!
Thanks
November 18, 2015 at 11:43 am in reply to: Drag Event is still true when grid looses focus Drag Event is still true when grid looses focus #78286This actually happens when you move the cursor out of the iframe, not just going up to the tabs.
November 17, 2015 at 11:38 pm in reply to: Filterable: true when using JSON? Filterable: true when using JSON? #78260ok, i’m not going mad
I was testing this by publishing in Visual Studio and forgot to enable the option to delete all the existing files first.
What was happening was because I had changed some file names, none of my changes were being referenced because the old files still existed.
I could see in a web debugger that the old files were still being used!
Sorry about this and thanks ivailo!
November 17, 2015 at 7:17 pm in reply to: Filterable: true when using JSON? Filterable: true when using JSON? #78253Hi Ivailo,
I must be going mad, here is my code but the filter box is not showing still?
var url = "/api/List"; // prepare the data var source = { data: { SEQ: editSeq }, datatype: "json", datafields: [ { name: 'DisplayName' }, { name: 'Sequence' }, { name: 'Type' }, { name: 'SeqParent' } ], id: 'Sequence', url: url, type: "POST", async: true }; var dataAdapter = new $.jqx.dataAdapter(source); // Create a jqxListBox $("#ListBox").jqxListBox({ source: dataAdapter, filterable: true, checkboxes: true, allowDrag: false, enableSelection: true, equalItemsWidth: true, displayMember: "DisplayName", valueMember: "Sequence", width: '220px', height: '250px', theme: theme });
Thanks
November 17, 2015 at 4:47 pm in reply to: Getting a value in JSON and not displaying in Grid Getting a value in JSON and not displaying in Grid #78249Hi Peter,
Do you know how this can be achieved please?
Thanks
November 16, 2015 at 10:34 am in reply to: Getting a value in JSON and not displaying in Grid Getting a value in JSON and not displaying in Grid #78195Hi Peter,
This is how I am setting up the columns for the Grid, based on a dataAdapter.
I am not sure using the above as the source, how I can not include a specific column on the grid.
If I use the source above then it displays all columns returned in the grid?
$('#Grid').jqxGrid({ columns: sourceVirtualFieldGrid.columns });
For example, I always have a column called ‘Sequence’ which I do not want to include on the Grid.
I would rather not just ‘hide’ the column if possible, although I may have to if there is no other way around it but it sounds like there is by your reply.
Thanks
September 9, 2015 at 4:25 pm in reply to: Remove default selection on dropdown grid? Remove default selection on dropdown grid? #75700September 9, 2015 at 4:12 pm in reply to: Remove default selection on dropdown grid? Remove default selection on dropdown grid? #75699Hi Peter,
I do not have any code apart from setting the datasource etc.. yet the first row is selected by default on my dropdown grid?
This results in not being able to select the first row again to populate the field.
Thanks
Thanks, this is now working!
September 8, 2015 at 12:06 pm in reply to: Iterate through dataAdapter records? Iterate through dataAdapter records? #75660I’ve worked it out
Thanks anyway guys
var records = dataAdapter.records; for (i = 0; i < records.length; i++) { alert(records[i].Checked) } }
Hi,
ok it is finally sorted. It was due to the timing of things, basically because I had async set to true it did not have time to populate the tree.
Is that normal behaviour? Should the source be set in a bindingComplete or something?
ok, I do not know why but I have got it working with:
.jqxTree({source: dataAdapter.records})
Do you know what is causing this?
Thanks
I think the issue is that the dataAdapter is empty. I have checked the server response and I can see the json response coming back and it looks fine.
Here is the json:
[
{
“DisplayName”: “Sequence”,
“Seq_Field”: “83”,
“Seq_BaseTable”: “12”
},
{
“DisplayName”: “Test ID”,
“Seq_Field”: “84”,
“Seq_BaseTable”: “12”
},
{
“DisplayName”: “Duration”,
“Seq_Field”: “85”,
“Seq_BaseTable”: “12”
},
{
“DisplayName”: “Person”,
“Seq_Field”: “86”,
“Seq_BaseTable”: “12”
},
{
“DisplayName”: “Address”,
“Seq_Field”: “87”,
“Seq_BaseTable”: “12”
}
]I have even tried displays dataAdapter.records.length inside the load complete of the dataAdapter but it returns 0 ?
-
AuthorPosts