Giter Site home page Giter Site logo

regular-table's Introduction

Regular Table

Düzenli dinamik tablolar oluşturmak için kullanılır. Regular Table'ı kullanmak için Css ve JavaScipt dosyasını projenize dahil etmeniz gerekir;

Css: <link rel="stylesheet" href="your-path/regular-table.css" />

JavaScript: <script src="your-path/regular-table.js"></script>

Regular Table Hızlı Başlangıç

Gerekli dosysları projemize dahil ettiğimize göre tablo oluşturmaya başlayabiliriz, tabloyu oluşturmak için parent HTML elementi oluşturuyoruz;

<div class="example-table"></div>

Tablo için örnek veriler oluşturalım;

const myData = [ ['Ali', 'Mehmet', 13], ['Ertuğrul Sencer', 'UZUN', 17], ['Mehmet Ali', 'Teken', 15], ['Bilgebayunçur', 'Bolatlı', 12], ['Bağan', 'Baturalp', 13] ]

Regular Table Kullanımı

Dataları kullanarak bir tablo oluşturmak için RegularTable sınıfından yeni bir instances oluşturuyoruz, RegularTable sınıfı constructor metodu içinde zorunlu olarak parent elemanı alıyor. Parent eleman olarak oluşturduğumuz example-table sınıf ismine sahip div'i yazıyoruz. İkinci paramtre data ve diğer seçenekleri içeren bir obje alıyor. Örnek;

const rt = new RegularTable('.example-table', { headData: ['Ad', 'Soyad', 'Yaş'], bodyData: myData });

Raguar Table kullanmak bu kadar basit. Performanslı ve kolay kullanımın keyfini çıkarın :)

regular-table's People

Contributors

ertugrulsencer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.