#Google

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Welcome to Flutter Tutorials by The Mobile Programmer,
    Video explains the usage of Data Tables in Flutter. This video will show to list a set of users in Table, Sort them and Delete them.
    Follow on facebook
    / mobile-tutor-299932940...
    Source code available in the below link
    www.coderzheave...
    Please follow me on facebook and share your thoughts there
    / mobile-tutor-299932940...
    #flutterDatatable #flutterandroid #flutterdart

Комментарии • 73

  • @KAOPro
    @KAOPro 4 года назад +2

    Thank you my friend for making such great videos. I hope that you will continue to do so.

  • @sylvestreomerndri1881
    @sylvestreomerndri1881 5 лет назад +2

    Thanks for the tutorial, it's so simple and easy to learn with it. Please could you do one later on where json data from a php API source on the internet (or localhost wamp) into a flutter data table?

  • @SebastianBordi
    @SebastianBordi 4 года назад +3

    You give me the solution I was seraching for 3 days.
    Thank you
    You have a new subcriptor from Argentine

  • @narutouzumaki-hi7os
    @narutouzumaki-hi7os 4 года назад +1

    Thank you for the Tutorial Sir,
    In my case, the row which is selected is not highlighted (only the checkbox is ticked) as shown in the video!
    I am missing something? (I am also using bottomNavigationBar below, is that something to do with?)
    Please help, Thanks.

    • @tarunreddy956
      @tarunreddy956 4 года назад

      I am facing the same issue, needed help.
      Thank you.

  • @tridarid
    @tridarid 5 лет назад +2

    Thanks for the tutorial. It helped so much.

  • @KenAragorn
    @KenAragorn 5 лет назад +1

    Hi, thanks for the details and good sharing. Quick check, when should we use DataTable and when we should use the Table widget? From the glance and few reading, DataTable have limited layout design such as 'I want only first column to have bigger width and alignment top' as compare to Table widget......However, for performance wise, there is also some concern...Do you mind to share your view on this?

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +1

      Tables and Data Tables are for totally different use. You can use Tables when you want to create a list of widget horizontally and vertically which is not scrollable and also different size etc. DataTable is for same size rows which is scrollable etc.

    • @KenAragorn
      @KenAragorn 5 лет назад

      @@MobileProgrammer Ok noted.But, it seems like for DataTable, there is no way to have control such as: first column have more width than the rest, padding control on the column header (some longer words tend to be eaten up).
      Or I miss something here? Is there a way to control this 2 requirements?

  • @awumbesolomon3517
    @awumbesolomon3517 4 года назад +2

    Great video..please can you make a video on how to display firestore data in a data table

  • @rajdave9862
    @rajdave9862 5 лет назад +2

    How can I learn on my own self like u?

  • @AccessCode101
    @AccessCode101 5 лет назад +2

    I had a problem with MediaQuery. I didn't know that we needed to call MaterialApp (which doesn't appear on your tutorial). For true beginners like me, I found a solution on SOF. Place your Scaffold around a return new MaterialApp (), then your Scaffold around home: new Scaffold ()
    That did it.

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +1

      Cool. Sorry for the confusion.

    • @AccessCode101
      @AccessCode101 5 лет назад +1

      @@MobileProgrammer No need. I learned something I didn't know. And finally completed a datatable calling users from another file. I was hard coding a gargantuan main file and it was awuful.
      Thank you! Subscribing

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +1

      You are always welcome. I m happy my video helped you.

    • @asherhaque9981
      @asherhaque9981 4 года назад

      can you explain this please I am getting the same error

  • @anhduong2476
    @anhduong2476 4 года назад +1

    can we rotate the table? I mean, there are instead 2 rows and 6 columns? Because i can't see the "label" propety in DataRow

    • @MobileProgrammer
      @MobileProgrammer  4 года назад +1

      You can put it inside a single child scroll view if that is what you meant!

  • @r.k.navinganeshapaandiyan3702
    @r.k.navinganeshapaandiyan3702 4 года назад +2

    Thanks! Sir. Please explain the tutorial slowly. So that everyone can easily understand

  • @premchandraseakaran1847
    @premchandraseakaran1847 Год назад +1

    I have 12 Cloums, Is that possible is to make responsive in Mobile ?

  • @dineyoliveira5436
    @dineyoliveira5436 5 лет назад +2

    very good!

  • @mudassarmaqbool8924
    @mudassarmaqbool8924 4 года назад

    sir can you help me am getting error
    I/flutter (17262): The following NoSuchMethodError was thrown building DataTablewidget(dirty, state:
    I/flutter (17262): _DataTablewidgetState#ac70a):
    I/flutter (17262): The getter 'cells' was called on null.
    I/flutter (17262): Receiver: null
    I/flutter (17262): Tried calling: cells

  • @harishshet7268
    @harishshet7268 5 лет назад +1

    Hey its an amazing tutorial , but whenever you scroll down the first row(header) goes hidden, can you please help me on how I can freeze the first row? Thanks!

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад

      Let me try it out

    • @harishshet7268
      @harishshet7268 5 лет назад

      @@MobileProgrammer okay, Thank you, if you found the solution please let me know, even I am trying my best to do that, if I found useful information i will share.

  • @benjamengoh1536
    @benjamengoh1536 2 года назад

    Is it possible to hide the check box for the first row the header?

  • @endrefidje5698
    @endrefidje5698 5 лет назад +2

    Good tutorial. Maybe do one later on where json data from a readily available API source on the internet gets "populated" into a flutter data table.

  • @niteshrathore4341
    @niteshrathore4341 4 года назад +1

    Sir please make a video on the login and signup using the get and post request in flutter

  • @WebPhix
    @WebPhix 3 года назад

    Awesome tutorial !!! How to add user info (firstname and lastname) from textfield ?? Please make a video on that ..

  • @atthanaphiphatthanaloetmon5433
    @atthanaphiphatthanaloetmon5433 4 года назад

    If I want to stick the header of the table but still be able to scroll up or down as usual, how can I solve it.
    Please help to advise me.

  • @ouzarinacime655
    @ouzarinacime655 3 года назад +1

    Thank you. That's what I was looking for.

  • @yumie9965
    @yumie9965 3 года назад

    Can I use DataTable with ListView.builder?

  • @juliejohn5159
    @juliejohn5159 4 года назад +1

    Good one. Keep going

  • @yousour5112
    @yousour5112 3 года назад +1

    good job :)

  • @tarunreddy956
    @tarunreddy956 5 лет назад +1

    Can we remove the extra padding between the data columns and somehow make it compact without using the horizontal scrolling?
    Please help, Thanks.

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +2

      That spacing is by default . I will check and let u know

    • @tarunreddy956
      @tarunreddy956 5 лет назад +1

      @@MobileProgrammer any solution?

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +2

      Hi Tarun, if the scrollDirection: Axis.vertical, then it will not scroll horizontally, but it will try to align inside the screen.

    • @tarunreddy956
      @tarunreddy956 5 лет назад

      @@MobileProgrammer I've tried it..if we have multiple columns..we wont be able to see all the columns

    • @tarunreddy956
      @tarunreddy956 5 лет назад

      @@MobileProgrammer I've tried using fittedBox..but then the text becomes smaller..I just want to remove the extra space..and use datatable at the same time :p

  • @asherhaque9981
    @asherhaque9981 4 года назад

    How can I dynamically add new names to that list? is there a way to implement an "ADD" button?

  • @tomassantiagogiraudo7729
    @tomassantiagogiraudo7729 5 лет назад +1

    Can you show us what to do if we want to add a new User? Thank You!!

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +2

      You just have to add a new entry to the user array and it call setstate in it. New user will be added to the table. Is that what you meant?

    • @tomassantiagogiraudo7729
      @tomassantiagogiraudo7729 5 лет назад +1

      @@MobileProgrammer Yes, thank you!

    • @MobileProgrammer
      @MobileProgrammer  5 лет назад +1

      You are welcome. Please consider subscribe if my videos are helpful.

  • @RajeshMaurya-kv4te
    @RajeshMaurya-kv4te 3 года назад +1

    need to vertical and horizontal scroll in data table Please help

    • @MobileProgrammer
      @MobileProgrammer  3 года назад +2

      Wrap it inside a vertical scroll first then wrap inside a horizontal scroll widget

    • @RajeshMaurya-kv4te
      @RajeshMaurya-kv4te 3 года назад +1

      @@MobileProgrammer thanks

  • @44_shubhamsharma75
    @44_shubhamsharma75 3 года назад

    How can I make the first Row fixed ?

    • @MobileProgrammer
      @MobileProgrammer  3 года назад

      You can create a separate table

    • @44_shubhamsharma75
      @44_shubhamsharma75 3 года назад

      @@MobileProgrammer But it should scroll horizontally along with my data
      eg - www.jqueryscript.net/demo/jQuery-Plugin-For-Fixed-Table-Header-Footer-Columns-TableHeadFixer/examples/fixHeader.html

    • @MobileProgrammer
      @MobileProgrammer  3 года назад

      You can add a title row to the array you have and set it for 0th index

    • @44_shubhamsharma75
      @44_shubhamsharma75 3 года назад

      ​@@MobileProgrammer​Thanks for the idea, but I've implemented using two SinleChlildScrollView mixing the scroll Controllers.

  • @Aomza107
    @Aomza107 2 года назад

    how to add new row?