Beispiel #1
0
        public void TestMainMethods()
        {
            _opt.WithPaging(5);
            Assert.IsTrue(_grid.EnablePaging);
            Assert.AreEqual(_grid.Pager.PageSize, 5);

            _opt.WithMultipleFilters();
            Assert.IsTrue(_grid.RenderOptions.AllowMultipleFilters);

            _opt.Named("test");
            Assert.AreEqual(_grid.RenderOptions.GridName, "test");

            _opt.Selectable(true);
            Assert.IsTrue(_grid.RenderOptions.Selectable);
        }