We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

117557 Nov 7,2014 06:17 AM UTC May 5,2015 05:13 AM UTC JavaScript 4
loading
Tags: ejTreeGrid
John Burgin
Asked On November 7, 2014 06:17 AM UTC

Hi,

Firstly, I'd like to say these new controls look great and thank you for supporting LightSwitch.

I'm trying to figure out how to get a tree grid to show, but can't find an easy way from the screen designer.  I've also tried putting on a normal grid, then changing the generated javascipt from ejGrid to ejTreeGrid and defining the parent as per documentation for the pure javascript control.  The grid still renders, but the parent field is returned as an "object" and there is no tree structure.

The table I'm testing it with is self referential e.g.

Tasks
ID, Name, Status, ParentTask.

where ParentTask relates to back to the task table.

Thanks,
John



John Rajaram [Syncfusion]
Replied On November 7, 2014 01:25 PM UTC

Hi John,

Thank you for using Syncfusion products.

Currently we have not published LightSwitch HTML support for TreeGrid control in official manner to render TreeGrid control from the screen designer. Hence we have logged this as Feature Request. This feature can be tracked through our Feature Management.

 

http://www.syncfusion.com/support/directtrac/features/JS-7394

 

It will be implemented in any of our upcoming main release and we will update you once this feature has got implemented.

 

Now as per your requirement we have prepared a sample for your reference to render TreeGrid control from screen designer in LightSwitch HTML platform. Please find the sample in the attachment.


Please let us know if you require further assistance on this.

Regards,
John. R


Attachment: TreeGrid_LightSwitch_183abd0c.zip

John Rajaram [Syncfusion]
Replied On November 11, 2014 12:30 PM UTC

Hi John,

 

We have created a new incident (131872) on behalf of you related to this forum. We suggest you to follow up the incident for further reference using your direct trac account.

 

Please let us know if you have any concerns.

Regards,

John. R


Matthew Shakespeare
Replied On May 3, 2015 10:37 PM UTC

Is there a way to initiate a refresh of the tree grid after a save ? 

Mahalakshmi Karthikeyan [Syncfusion]
Replied On May 5, 2015 05:13 AM UTC

Hi John,

We would like to let you know that we can refresh the TreeGrid Control after saved or modified the content using refresh() public method in Treegrid. Please find the following code snippet for details.

<input type="button" id="refresh" value="refresh" />

<script type="text/javascript">

$("#TreeGridContainer").ejTreeGrid({

//…

});


$("#refresh").click(function(){

treegridObj = $("#TreeGridContainer").data("ejTreeGrid");

treegridObj.refresh();

});

</script>


We have also prepared a sample based on this and please find the sample location below.

Sample: http://www.syncfusion.com/downloads/support/forum/117557/TreeGridRefresh729371156.zip

Please let us know if you need more information on this.

Regards,

Mahalakshmi K.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;