Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dart 材料设计精简省道,刷新表_Dart_Material Design Lite - Fatal编程技术网

Dart 材料设计精简省道,刷新表

Dart 材料设计精简省道,刷新表,dart,material-design-lite,Dart,Material Design Lite,MDL Dart中是否有使用数据表或链接到随时间变化的模型的列表的自定义组件的简单示例 我有个例外 Exception: Uncaught Error: RangeError: Index out of range: index should be less than 6: 6 Stack Trace: #0 HtmlCollection.[] (dart:html:17296) #1 _ChildrenElementList.[] (dart:html:10623

MDL Dart中是否有使用数据表或链接到随时间变化的模型的列表的自定义组件的简单示例

我有个例外

     Exception: Uncaught Error: RangeError: Index out of range: index should be less than 6: 6
Stack Trace:
#0      HtmlCollection.[] (dart:html:17296)
#1      _ChildrenElementList.[] (dart:html:10623)
#2      MaterialRepeat.insert.<insert_async_body> (package:mdl/src/template/components/MaterialRepeat.dart:148:55)
#3      Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
#4      _microtaskLoop (dart:async/schedule_microtask.dart:43)
#5      _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#6      _ScheduleImmediateHelper._handleMutation (dart:html:42503)
异常:未捕获错误:范围错误:索引超出范围:索引应小于6:6
堆栈跟踪:
#0 HtmlCollection。[](dart:html:17296)
#1(ChildrenElementList.[)(dart:html:10623)
#2材料重复。插入。(包装:mdl/src/template/components/MaterialRepeat.dart:148:55)

#未来。未来。微任务。更新
项目
列表

时,您看到了以下示例?+如果您仍然有问题-您能在GH上创建一个小样本吗?所有这些样本都使用ObservableList…Live样本在这里:顺便问一下:如何更新您的项目?我正在开发一个数据表,其中包含列表中元素的重复行()现在我收到了DOMDrenderExcpetion,如果内容不只有一个根元素,通常会发生此错误。DOMDrenderer:(17:59:42.142)无效内容:f8a9d0650822 a b通常,如果内容不只有一个根元素,则会发生此错误。有没有使用mdl数据表的样本?嗯-不太容易。。。问题是tr标签。向DOM添加tr是面向上下文的,这就产生了问题。如果用div替换tr,它可以工作,但会破坏表。如果我向您提供一个DataDivTable(我将使用css类而不是所有的表元素-外观和感觉都是一样的…)会有帮助吗?例如mdl divdata表--tbody或mdl divdata表--tbody--tr