This example demonstrates usage of the DataViews row template feature by arranging data from a table into a chat-like layout using the grid layout engine, including chat messages, dates, and user avatars.

This example demonstrates usage of the DataViews row template feature by arranging data from a table into a chat-like layout using the grid layout engine, including chat messages, dates, and user avatars. Take a look in the source code and notice that this was accomplished with very little code using CSS and HTML markup techniques.
<!DOCTYPE html> <html lang="en"> <head> <base href="/dataviewsjs/demos/en/sample/Features/RowTemplates/Chat/purejs/" /> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="keywords" content="rows, template, row template, row height, rowheight, auto height" /> <meta name="description" content="This example demonstrates usage of the DataViews row template feature by arranging data from a table into a chat-like layout using the grid layout engine, including chat messages, dates, and user avatars." /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Chat | Features | MESCIUS DataViewsJS JavaScript Demos</title> <link href="/dataviewsjs/demos/node_modules/normalize.css/normalize.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/css/base.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/dataviews/gc.dataviews.core.min.css" rel="stylesheet" type="text/css" /> <link href="/dataviewsjs/demos/static/dataviews/gc.dataviews.grid.min.css" rel="stylesheet" type="text/css" /> <link href="styles.css" rel="stylesheet" type="text/css" /> <script src="/dataviewsjs/demos/static/js/app-polyfills.min.js" type="text/javascript"></script> <script type="text/javascript"> window.process = { env: { NODE_ENV: 'production', USE_NPM: false, USE_CDN: false, SITE_ROOT: '/dataviewsjs/demos', FRAMEWORK: 'purejs', DVJS_LICENSE_KEY: 'E348418822993781#B0EWvwY4dNNVQqJHUDpFROVWe5ZWNYFlVQFmRsJWRht4Z6lDO4Vla7YUaXhEWxd7Z5YXMuRnY7tWTQRHSlVnaYlXNhlEOpdkZ0FHWYJ5QKd6VXN5aR3ieGhUav9kZTBXWahkYBhEVutmZ72CbjdlZvV5TVdGdiplQsZXe95kUmNmZVF5cJ3mcypWNyx4UydESE3UblxGZyE7KQ94R4BjbUxUewsiaoREM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IHRv46VtBXS4U5KvJ6dZJ6M5p4TxIjd9I5QSpXTTV6SDZXb7lzaL56ZiojITJCLikTQxUTQFV4NiojIIJCLyETO7UzM7kTO0IicfJye&amp;Qf35VfikkR9IkI0IyQiwiIyEjL6ByUKBCZhVmcwNlI0IiTis7W0ICZyBlIsISNwkTN6ADI8EDMxMjMwIjI0ICdyNkIsIyc59yc5l6YzVWbuoCLwpmLzVXajNXZt9iKs2WauMXdpN6cl5mLqwSbvNmLzVXajNXZt9iKsAnau26YuMXdpN6cl5mLqwSbvNmL6VGZ9RXajVGchJ7ZuoCLuNmLt36YukHdpNWZwFmcn9iKs46bj9Se4l6YlBXYydmLqwicr9ybj9Se4l6YlBXYydmLqwCcq9ybj9Se4l6YlBXYydmLqIiOiMXbEJCLiMVVJN4UF5kI0ISYONkIsUWdyRnOiwmdFJCLiYzMyUjNxIDNxUDO5gTM5IiOiQWSiwSfdtlOicGbmJCLlNHbhZmOiI7ckJye0ICbuFkI1pjIEJCLi4TPRtGOhtWWEFWd4IDOLRVRvx4SyMGcDhTW6n4ep', }, }; </script> <script src="/dataviewsjs/demos/node_modules/lodash/lodash.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.common.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.core.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/dataviews/gc.dataviews.grid.min.js" type="text/javascript"></script> <script src="/dataviewsjs/demos/static/js/license.js" type="text/javascript"></script> </head> <body class="theme-default"> <noscript>You need to enable JavaScript to run this app.</noscript> <template id="rowtml"> <div class="tml {{=it.dir}}"> <div class="photo-container"> <div data-column="photo"></div> </div> <div class="message-container"> <div class="message-head"> <div data-column="name" class="name"></div> <div data-column="time" class="time"></div> </div> <div data-column="content" class="message-content"></div> </div> </div> </template> <div id="grid" class="grid"></div> <script src="data.js" type="text/javascript"></script> <script src="app.js" type="text/javascript"></script> </body> </html>
var headerTemplate = '<div class="divider">{{}}</div>'; var timeFormatter = 'hh:mm tt'; var photoPresenter = '<img class="employee-photo" src="{{}}"/>'; var contentPresenter = '<p class="chat-content">{{=it.content}}</p>'; var cols = [ { id: 'photo', dataField: 'photo', presenter: photoPresenter, }, { id: 'name', dataField: 'name', }, { id: 'time', dataField: 'time', format: timeFormatter, }, { id: 'content', dataField: 'content', presenter: contentPresenter, }, { id: 'dir', dataField: '=IF([name] = "David Archer" || [name] = "Tomas Hood", "right", "left")', visible: false, }, ]; new GC.DataViews.DataView( document.getElementById('grid'), data, cols, new GC.DataViews.GridLayout({ grouping: [ { field: 'time', header: { visible: true, template: headerTemplate, height: 30, }, footer: { visible: false, }, converter: function converter(time) { return time.toDateString(); }, }, ], autoRowHeight: true, showRowHeader: false, showColHeader: false, rowTemplate: '#rowtml', selectionMode: 'none', }) ); // focus data.view by default document.getElementById('grid').focus();
var data = [ { time: 'July 23,2018 20:30:00', content: 'I am about to get involved with a VB.NET project in which there could be a choice in going either with WinForms or WPF. Or, something else?? What is the today current best practicechoice, in your opinion? WinForms or WPF? Why?', }, { time: 'July 23,2018 20:40:00', content: "Unless you're familiar with wpf, its a love/hate relationship. Things that are easy in forms could take much longer in forms. Yet the benefits of wpf is definitely worth it if you stick it out. I would say wpf makes the hard things easy and the easy things hard for a startup. There's no right or wrong to answer your question", }, { time: 'July 23,2018 20:42:00', content: "I don't think there is an easy answer here. It depends on your skills, how fast you need to do the project, whether there are any critical project requiremnents that might make one technology more appealing than the other.", }, { time: 'July 23,2018 21:02:00', content: "Well my take on it is what are you building and does the architecture fit? Square peg round hole kind've situation no sense forcing something because you want to use a neat feature or technology simply for the sake. What are the requirements, how will you deploy it? Are there security considerations you need to take into account. What about the devices?", }, { time: 'July 23,2018 21:12:00', end: 'June 2,2018 13:30:00', content: "It depends on your skill and your client's requirements. we got a client looking for software development services. They want to go with windows based application but after reviewing their requirements, we suggested them to go for web based application. So it depends on the scope of work.", }, { time: 'July 23,2018 21:30:00', content: 'Can you provide an example of what would be easier in WinForms but more difficult in WPF? And, in that example, detail the complications?', }, { time: 'July 23,2018 22:10:00', content: 'Also, I have heard that it is difficult to design the UI in Visual Studio 2012, in WPF design mode. That is, compared with WinForms in the same environment. Are there visual editors for WPF?', }, { time: 'July 23,2018 22:22:00', content: 'check and', }, { time: 'July 24,2018 12:35:00', content: "Jatin, those look great. I'll try those. I am tasked with proof of concept between WinForm vs. WPF, so I am diving in.", }, { time: 'July 24,2018 18:42:00', content: "What's the future of the app? Keep the UI technology as separate from the applications intelligence, keep the UI thin, that way it doesn't really matter what UI technology you use.When the day comes it needs to port to any platform.", }, { time: 'July 24,2018 19:17:00', content: 'If this application is for internal use, just use winforms. If this application is customer facing and they want the application to visually stand out then use WPF.', }, { time: 'July 24,2018 20:28:00', content: "Well, I was able to port nearly all of our current classes and modules, and I was able to spin up a few pages for a Navigation Window application. I really love the xaml, so far. I've figured out how to create a login page, and then a main page that will serve as the framework for the whole app. I am thinking of using some sort of Ribbon Bar for navigation, etc. I'm loving WPF and I think it is the right choice.", }, { time: 'July 24,2018 21:17:00', content: "Our current application is entirely web-based. We are doing a proof of concept to move from web-based to application or combination application and apps that can be deployed on devices. The Surface with Windows8/10 is one of the targets. So, I think WPF will serve this well. Again, being able to port our core back-side classes so easily, and being able to spin up a few pages withing the WPF Navigation Window application really rocked, today. I'm highly pleased.", }, { time: 'July 24,2018 22:46:00', content: "I always found there are a lot of important features in WPF specially the spell checker for text boxes (yes you can get a 3rd party plug in but, its always good to get an inbuilt right?I know a lot of people use WPF because it will help with some development patterns but, I love the freely included controls.Then again, there is another problem... if you don't really need those flashy stuff why would you want to move to something new? I have seen Microsoft trying so hard to move away from Winforms with things like the windows 8 metro apps, but... we all know what happen to those...Just thinking out of the box, how about a chrome desktop app ?", }, { time: 'July 24,2018 23:16:00', content: 'Jatin Panchal: I think it is highly rude and very inappropriate that you sent an email message to me, trying to solicit a sale from me, of your services. Do you not think that there are hundreds if not thousands of people on here that would love to sell me the very same thing? What if every one of them came in here and started hunting my business? I did NOT indicate that I am searching for your services. I think you should hang your head in shame, and not do this sort of behavior again. Shame on you. ', }, { time: 'July 25,2018 00:23:00', content: "This WPF is fitting the bill, perfectly. I have had no issue, so far, in creating my graphical user interface. I have not had any issue porting my database and messaging classes. I have had no issue in utilizing .Net features, etc. This is going so very well that I wonder why I waited or had doubts.I am sure that WinForms plays a role in certain cases, but, since most of our code and functionality is already classed and discrete (not tied to any front-end GUI), it really does not matter which route we go... but WPF seems to have the greatest flexibility. I'm pretty happy with it. And, I am using VS2012 VB.NET -- Imagine when we upgrade to a more current version. :)I appreciate the feedback I am getting. It was very helpful.", }, { time: 'July 25,2018 00:52:00', content: 'Getting an entire company to move to the next version of VS2012 takes a lot of persuading. In the meantime, I will suffer this. :)', }, { time: 'July 25,2018 10:41:00', content: 'Joshua: I tried to use Blend, but, it seems to be really limited. Of course, I am using the VS2012 Blend -- perhaps I should use a more current version. I think I can do that, right?And, I cannot get an Open in Blend to open any XAML file, nor the project file, from within VS2012 (and I have update 4).', }, { time: 'July 25,2018 15:33:00', content: 'I do , WPF,C# and MVVM , on my job system', }, { time: 'July 25,2018 18:19:00', content: 'Go for WPF and you will never need to look back... :)', }, { time: 'July 25,2018 20:09:00', content: 'It will not be wise to comment with out knowing your requirements. If you need something with a lifetime of 5-6 yrs with incremental development then go with the WPF. As it will be easy to port the same code to mobile devices as well as microsoft has a lot of focus on the XAML.MVVM, WCF, C# is what I use most whenever it comes to WPF.', }, { time: 'July 25,2018 23:23:00', content: "WPF because it's modern and you can apply patterns like MVVM. Which makes it easy to separate different layers and results in easier support for other platforms. I also suggest choosing c# because it has a wider support., speaker:Aboo Azarnoush", }, { time: 'July 26,2018 18:18:00', content: "WPF because it's modern and you can apply patterns like MVVM. Which makes it easy to separate different layers and results in easier support for other platforms. I also suggest choosing c# because it has a wider support.", }, { time: 'July 26,2018 19:03:00', content: ', Wpf, c#. Mvvc.', }, { time: 'July 26,2018 20:32:00', content: 'WPF is your best choice. Once you learned xaml, you can use the same knowledge to create UW 10 applications to target mobile and desktop.', }, { time: 'July 26,2018 21:56:00', content: "Rebecca Papenbrock: That was a thoughtful response. At this point, since I have used both WinForms as well as this week's exploration of XAML and WPF, I feel most comfortable and optimistic using WPF. We will be continuing forward in both WebForms (Using Telerik for a lot of our GUI), as well as the new WPF path. That way we are hitting more targets. Since the core code is independent from UI, we can create a core library (probably will be a DLL) and just maintain one instance, while wrapping that up in various UI frameworks. ", }, { time: 'July 26,2018 22:51:00', content: "Darrin Freeman: We have been a web-based/only application (what an old word), for a number of years. However, a majority of our users that are in the WAN are asking for something native to their device. We've decided to develop for BOTH sides; web-based as well as non-web-based. Because all of our business logic and core software engineering results in a core framework of our own, it is easy to wrap any UI around it.", }, { time: 'July 26,2018 23:12:00', content: "Barış Güzelsoy: I came aboard this enterprise effort, after the decision was made and then committed, to use VB.NET and ASP with Telerik. I have no issue with coding in whatever I have to. I've been programming in so many language flavors since 1983, that it no longer challenges me to have one or the other. Now, if I have to use Assembly/Machine language code environments, then I would complain a little bit. But, only a little bit. :)", }, { time: 'July 27,2018 00:42:00', content: "My choise is both. If you want to compatible and performance, WinWorms. If you flexibility and elegance, WPF.It's funny to develop application in WPF XAML.", }, ]; var peopleName = [ 'David Archer', 'Derek Smyth', 'Greg Boudreau', 'Israel Hernandez', 'Jatin Panchal', 'Prasanga Basnayake', 'Rob Swierczynski', 'Tomas Hood', ]; var SITE_ROOT = window.process.env.SITE_ROOT; _.each(data, function (rec) { = peopleName[Math.floor(Math.random() * 8)]; = ''.concat(SITE_ROOT, '/images/').concat(, '.jpg'); _.each(rec, function (val, key) { if (key === 'time') { rec[key] = new Date(val); } }); });
.grid { position: relative; } .gc-grid { border: 0; } .gc-grid .gc-group-header-row { align-items: center; justify-content: center; background: transparent; } .gc-cell-border { border: 0; } .gc-cell { overflow: inherit; padding: 0; white-space: normal; } .gc-focused { border-radius: 5px; } .gc-focused .tml .chat-content { background-color: #cfedfb; } .divider { color: #333; font-size: 12px; padding: 0.4em 1em; position: relative; text-align: center; text-transform: uppercase; } .tml { margin: 10px; display: flex; width: 100%; } .tml .photo-container { width: 50px; flex-grow: 0; flex-shrink: 0; } .tml .message-container { width: 100%; flex-grow: 1; flex-shrink: 1; } .tml .message-head { display: flex; flex-grow: 0; flex-shrink: 0; } .tml .message-head .name { font-weight: bold; } .tml .message-head .time { color: #9e9ea6; margin-left: 5px; } .tml .message-content { display: flex; width: 100%; flex-grow: 1; flex-shrink: 1; justify-content: flex-start; } .tml .chat-content { background-color: #dfeeff; border-radius: 3px; box-sizing: border-box; color: #333; font-size: 14px; line-height: 17px; margin: 0; width: 100%; padding: 5px 10px; white-space: pre-line; word-wrap: break-word; } .tml .employee-photo { box-sizing: border-box; border-radius: 4px; width: 40px; height: 40px; margin: 0 5px; } .tml.right { flex-direction: row-reverse; } .tml.right .message-head { flex-direction: row-reverse; } .tml.right .message-head .time { margin-left: 0; margin-right: 5px; } .tml.right .message-content { justify-content: flex-end; } /*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZlYXR1cmVzL1Jvd1RlbXBsYXRlcy9DaGF0L3B1cmVqcy9zdHlsZXMuc2NzcyIsIkZlYXR1cmVzL1Jvd1RlbXBsYXRlcy9DaGF0L3B1cmVqcy9zdHlsZXMuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0JBQUE7QUNDRjs7QURFQTtFQUNFLFNBQUE7QUNDRjtBRENFO0VBQ0UsbUJBQUE7RUFDQSx1QkFBQTtFQUNBLHVCQUFBO0FDQ0o7O0FER0E7RUFDRSxTQUFBO0FDQUY7O0FER0E7RUFDRSxpQkFBQTtFQUNBLFVBQUE7RUFDQSxtQkFBQTtBQ0FGOztBREdBO0VBQ0Usa0JBQUE7QUNBRjtBREdJO0VBQ0UseUJBQUE7QUNETjs7QURNQTtFQUNFLFdBQUE7RUFDQSxlQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQk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