SharkTree

SharkTree is a free ASP .NET MVC HTML Helper.

Learn more »

Download example »


Features

  • it's free and under open source

  • builds a tree data structure from your data/heap - you don't have to provide the correct tree data structure

  • high-performance on a 10 000 records

  • built-in autocomplete for the easier search items in a tree, automatically scrolls and expands nodes in any deep level

  • supports data serialization on a client (HTML page) for the autocomplete purpose

(Type Twee and then choose item in a list.)
Tree root - Animal
  • Mammal
    • Equine
      • Horse
      • Zebra
    • Bovine
      • Cow
        • Bessie
    • Canine
  • Reptile
    • Lizard
      • Salamander
    • Snake
    • Bird
      • Canary
        • Tweetie

What is a tree structure?

How SharkTree works

SharkTree is a HTML helper extension simple for a integration. As a input parameter, helper accepts a heap of data in well known structure (class Node - ID, Text, ParentId). Helper is responsible for a sorting and producing a tree structure on HTML page. Every node can be expanded by clicking on the plus sign. If you click on the text, client side function is triggered. By typing in a text field (min 3 characters) server side function (AJAX) is called. Server side method returns JSON array. After selecting item in drop down list - automatic scrolling to the item is triggered. Alternatively, SharkTree can be configured to serialize all data on a page - therefore you don't need to implement server side method.